Base Form Class for 'real' and fake form classes
An HTML-form building class, that supports registerable and unregisterable controls.
addScript(string $name, string $script) : boolean
This may be used for validation, dynamic controls, etc.
The internal name to reference the script. This is used by the Form object for removing the script later (if desired)
The path to the script file, relative to the BASE of the site.
Returns true if a script with the specified internal name does not already exist, and the new one was added, or false if not.
location( $loc) : boolean
removeScript(string $name) : boolean
The internal name of the script to remove. This was specified by the addScript() method, and is only used by the Form object.
Returns true if the script was successfully removed. In practice, this method always returns true.