This is a basic text input. It is bounded between 0-255 characters and is auto trimmed.
This input is required. This is done by adding the
ng-required
attribute. The attribute can be added to any PractialForms input
This text field has the length set to {{len.min}}-50 characters
Inputs have two way bindings, so they can easily be set and validated using code
Large text box, default limited to 2500 characters
Large text box, limited to 100-250 characters
Numerical input, valid only when the input is a number. Works with decimal numbers
This will only work with number between 1-5. Powered by angular
min
&
max
attributes
Percentage input will only accept interger from 0-100.
Email input, validated using the default browser implementation
The default password must be at least 8 characters long and includes an upper-case letter, lower-case letter and a number. See
this regex website for more details
Validates a state by either the name or the code.
When
output
is set to
"code"
, the value is the state code name. This is default
Output: {{inputs.state_code}}
When
output
is set to
"word"
, the value is the state name
Output: {{inputs.state_Name}}
Validates either the 5 or 9 digit zip code (either ##### or #####-####). See
this regex website for more details.
Validates a phone number. See
this regex website for more details
Validates a URL link using the default browser implementation. Must include the protocal (HTTP, FTP, etc)
Enter a date. Min date can be set using the min-date attribute.
This date has a min value taken from above.
Note: this required a watch expression in the controller
Output:
{{inputs | json}}