Setup/Initialization | |
PasswordFormField ($Name, $IsRequired, $Label, $Length, $MaxLength, $ValidFunc=NULL, $ValidMsgs=NULL) | |
Object Constructor. |
Definition at line 8 of file PasswordFormField.php.
PasswordFormField::PasswordFormField | ( | $ | Name, | |
$ | IsRequired, | |||
$ | Label, | |||
$ | Length, | |||
$ | MaxLength, | |||
$ | ValidFunc = NULL , |
|||
$ | ValidMsgs = NULL | |||
) |
Object Constructor.
Name | internal name for this field, used for html id= | |
IsRequired | ||
Label | display name for this field, shown to the user | |
Length | minimum length for a password | |
MaxLength | maximum length allowed | |
ValidFunc | function to validate entered data | |
ValidMsgs | error messages associated with error codes from ValidFunc |
Definition at line 22 of file PasswordFormField.php.
References TextFormField::TextFormField().