1st <input type = "text" id = "first_name" size = "25" maxlength = "25" alt = "First name" title = "Your first name">
2nd <input type = "hidden" id = "f_first_name" value = "required,word">
3rd <div id = "fn_first_name" class = "invalid"> </div>
ddform interprets the above three form elements provided in HTML and uses that information to process the
first name input (1st element) based on the optional 2nd and 3rd associated elements. The data inputs (1st) can be identified
by any name, but the associated filter and notice (2nd and 3rd) elements must conform to the naming convention. These elements
use the 1st input identifier name with the addition of a leading "f_" and "fn_" respectively. The filter in this case specifies
that the first name must be provided, and must contain the valid characters of a word (alphabet, period, apostrophe, hyphen, etc.)
in order to proceed with the popup form submittal. The notice div element will display an invalid message using
the text in the 1st input element's alt attribute. In the case of an erroenous name - the notice would display "Invalid First name."
The word "Invalid" is joined to the beginning of the alt text specified in the 1st input element.
| required | this is a required field, and if omitted will not allow submission of the form to proceed |
| word | allow the alpha numeric characters, single quote, period, parenthesis, dash and space - anything else will fail |
| alphanum | only accept characters of the alphabet and digits of the number system |
| alpha | only accept characters of the alphabet system |
| numeric | only accept digits of the number system |
| email | accepts legitimate email address characters only) |
| phone | accepts phone numbers in the format of: (###)###-#### |
| zipcode | accepts a 5 digit zipcode |
| postalcode | accepts a 7 alpha numeric characters for postal code |
| pzcode | accepts a 5 or more alpha numeric characters for postal/zipcode |
| user | letters of the alphabet, digits and underscores permitted |
| password | reports the strength of the password in the notice |
| selection | requires a selection from a drop-down control |
| Composite Filters (escape colons with double colons on display) |
| len | minimum character length (e.g. len:5) |
| amount+ | positive real numbers (e.g. amount+:2:1.2:40) example specifies a positive real number with two decimal places, a minimum value of 1.2 and a maximum value of 40 (values are auto corrected) |
| amount | real numbers (e.g. amount:0:-2) example specifies a whole integer with a minimum value of -2 (values are auto corrected) |
| date | date/time format according to mask modifiers (e.g. date:m/d/y) |
Any amount of white space is permitted in an input mask.
"m/d/y" accepts a date such as "11/30/2002"
"y-m-d H::i" accepts a date/time such as "2009-07-09 15:22"
"y/m/d" ISO 8601 default format accepts a date such as "2007/08/23"