axllent/silverstripe-form-fields

Custom forms & fields for the Silverstripe framework & CMS

Installs: 35 318

Dependents: 6

Suggesters: 0

Security: 0

Stars: 6

Watchers: 2

Forks: 7

Open Issues: 0

Type:silverstripe-vendormodule

1.6.0 2022-05-27 10:00 UTC

This package is auto-updated.

Last update: 2022-09-27 10:50:19 UTC


README

An extension that adds custom form fields & types to the Silverstripe 4.

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 ^4.0 CMS
  • 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