ShowResetButton
string CFormOutput::ShowResetButton([ string CAPTION = "", string CSSClass = "" ] );
The method returns HTML code for the "Reset" button of the creation/editing record form. Non-static method.
Method parameters
Parameter | Description | Available from version |
---|---|---|
CAPTION | Text, located on the button. If the parameter is empty or not specified, by default value will be used. Optional parameter. | 5.1.2 |
CSS Class | CSS class of the button. Optional parameter. | 5.1.2 |
Returned value
HTML code of the "reset" button is returned.
Examples of use
<?=$FORM->ShowResetButton("Reset changes", "form-button-reset")?>
See Also
© «Bitrix24», 2001-2024