Provides the ability to mask form fields using the ignorescobar jquery mask plugin.
Helpful if you have many form fields that require some specific formatting for consistency.
- Clone this repository into
plugins/albrightlabs/fieldmasking
- Run the console command
php artisan october:migrate
- Add any class found in the docs to an October CMS form field in the
cssClass
config with the prefixmask-
.
Run either of the following commands:
- From the project root, run
php artisan october:util git pull
- From the plugin root, run
git pull
None other than adding the desired mask class to the cssClass
config for a specific October CMS form field. For example, adding cssClass: mask-phone_us
will mask the form field as a US phone number.
- None at this time but please send suggestions to [email protected].