Documentation

ShowSubmitButton

string
CFormOutput::ShowSubmitButton([
	string CAPTION = "",
	string CSSClass = ""
]
);

The method returns HTML code of the web form submit button. The button is part of record creation/editing 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, then either the value of "Button title" parameter will be used. This parameter is part of the "Properties" tab on the page that is used to edit web form parameters. Or, in the second option the default value is used. Optional parameter. 5.1.2
CSS Class CSS class of the button. Optional parameter. 5.1.2

Returned value

HTML code of the web form submit button is returned

Examples of use

<?=$FORM->ShowSubmitButton("Submit request", "form-button-submit")?>

See Also

  • CFormOutput Class
  • CFormOutput::ShowApplyButton
  • CFormOutput::ShowResetButton


  • © «Bitrix24», 2001-2024
    Up