axllent / silverstripe-form-fields
Custom forms & fields for the Silverstripe framework & CMS
Installs: 57 163
Dependents: 6
Suggesters: 0
Security: 0
Stars: 7
Watchers: 3
Forks: 7
Open Issues: 0
Type:silverstripe-vendormodule
Requires
- silverstripe/framework: ^4.0 || ^5.0
Suggests
- guzzlehttp/guzzle: optional: if you require VideoLink titles or Vimeo thumbnail images
README
An extension that adds custom form fields & types to the Silverstripe 4 & 5.
Form Types
See docs for more information.
- PhoneNumberField - Field for a single phone number (provides
Link()
support) with validation. - NoticeField - Add notices into the CMS. NoticeFields can be persistent across all tabs and are dismissable.
- URLField - Easily add an validating input field for URLs.
- VideoLinkField - Easy embedding of YouTube & Vimeo video fields in the CMS.
Object Types
See docs for more information.
- PhoneNumber - Phone number with
Link()
support. - URL - Encode urls properly in templates.
- Blob - Adds blob field type to the framework.
- VideoLink - Video link field (YouTube/Vimeo supported) for easy template integration.
Requirements
- Silverstripe CMS ^4.0 || ^5.0
- Guzzle if you require fetching of Vimeo thumbnails for VideoLink (
composer require guzzlehttp/guzzle
)
Installation via Composer
You can install it via composer:
composer require axllent/silverstripe-form-fields