<?PHP

  /**
   * Abstraction for password forms
   * \nosubgrouping
   */ 

class PasswordFormField extends TextFormField {
    /** @name Setup/Initialization */
    /*@{*/
    
    /**
     * Object Constructor
     * @param Name internal name for this field, used for html id= 
     * @param IsRequired 
     * @param Label display name for this field, shown to the user
     * @param Length minimum length for a password
     * @param MaxLength maximum length allowed
     * @param ValidFunc function to validate entered data
     * @param ValidMsgs error messages associated with error codes from ValidFunc
     */
    function PasswordFormField(
            $Name, $IsRequired, $Label, $Length, $MaxLength, 
            $ValidFunc = NULL, $ValidMsgs = NULL)
    {
        $this->TextFormField(
                $Name, $IsRequired, $Label, $Length, $MaxLength, $ValidFunc, $ValidMsgs);
    }

    /*@}*/
}

?>
