Skip to content

axllent/silverstripe-form-fields

Repository files navigation

Custom Silverstripe forms & fields

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