Contents |
ValidForm→addArea
ValidForm→addArea — Adds an advanced group of fields to the ValidForm object
Description
addArea ([string $label, [bool $interActive, [string $name, [bool $checked, [array $meta]]]]]);
Adds an advanced group of fields to the ValidForm object.
Parameters
- label
The label for this new area. Will be shown in the<legend>field.
- interActive
Puts the area in interactive mode. If true, the entire area can be enabled or disabled using a checkbox. Default value false.
- name
If interactive, this is the name of the checkbox.
- checked
If true, the interactive field is active by default. Default value false
- meta
Only the custom class meta applies for this method. Sample:
array("class"=>"customClass");
Return values
Returns new VF_Area object

