__construct()
__construct(string $name, integer $type, string $label = "", array $validationRules = array(), array $errorHandlers = array(), array $meta = array())
Construct new Group element
See \ValidFormBuilder\Base::addField()
Parameters
string | $name | Field name |
integer | $type | Field type |
string | $label | Field label |
array | $validationRules | Validation rules |
array | $errorHandlers | Error rules |
array | $meta | The meta array |