axllent/silverstripe-form-fields

Custom forms & fields for the Silverstripe framework & CMS

Installs: 58 204

Dependents: 6

Suggesters: 0

Security: 0

Stars: 8

Watchers: 3

Forks: 7

Open Issues: 0

Type:silverstripe-vendormodule

1.6.3 2024-11-15 04:40 UTC

This package is auto-updated.

Last update: 2024-12-15 04:48:42 UTC


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