Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
system/expressionengine/third_party/ndg_masked_input
themes/third_party/ndg_masked_input
README

README

Masked Input EE2 Fieldtype: 

Allows you to define a mask format for the field input.  This makes sure the correct format has been entered.
An inline validation is added where the user is notified when the correct format has not been entered.
A publish validation is added for fields that are marked as required 


INSTALLATION
- copy files into system/expressionengine/third_party/ndg_masked_input
- copy files into themes/third_party/ndg_masked_input

EXAMPLES:

(999) 999-9999	- phone example
99/99/99		- custom date
aa-9999			- product number ex. PR-2342 
h:i			- ex: 11:34
H:i			- ex: 23:34

The following mask definitions are predefined:

a     			- Represents an alpha character (A-Z,a-z)
9     			- Represents a numeric character (0-9)
*     			- Represents an alphanumeric character (A-Z,a-z,0-9)
d/m/y 			- day/month/year in 99/99/9999 format ex 06/12/2010
h			- 12-hour format of an hour with leading zeros, 01 through 12
H			- 24-hour format of an hour with leading zeros, 00 through 23
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.