Documentation

ShowInput

string
CFormOutput::ShowInput(
	string $FIELD_SID[, 
	string $CSSClass = ""]
);

The method inserts the question reply fields into the template. Input field parameters are specified in the question settings. Non-static method.

Method parameters

Parameter Description
FIELD_SID String ID of the question input field. Required parameter.
CSS Class CSS class for input field title. Optional parameter.

Returned value

HTML code to insert fields into the web form is returned

Examples of use

<?=$FORM->ShowInput('MYFIELD_5')?>

See Also

  • CFormOutput Class
  • CFormOutput::ShowInputCaption
  • CFormOutput::ShowInputCaptionImage


  • © «Bitrix24», 2001-2024