SetBatch
CFormValidator::SetBatch( int WEB_FORM_ID, int FIELD_ID, array arValidators = array(), )
The method SetBatch attaches a group of validators with specified settings to a form field. The method is similar to calling the CFormValidator::Set for each validator.
Parameters
Parameter | Description |
---|---|
WEB_FORM_ID | The webform ID. |
FIELD_ID | The question ID. |
arValidators | An array of validators. Each array element is an associated array with
the following keys:
|
© «Bitrix24», 2001-2024