axllent/silverstripe-form-fields

Custom forms & fields for the Silverstripe framework & CMS

Installs: 56 803

Dependents: 6

Suggesters: 0

Security: 0

Stars: 7

Watchers: 3

Forks: 7

Open Issues: 0

Type:silverstripe-vendormodule

1.6.1 2023-03-21 04:40 UTC

This package is auto-updated.

Last update: 2024-10-21 08:00:18 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