Documentation

ShowInputCaption

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

The method inserts titles for reply input fields. Non-static method.

Method parameters

Parameter Description
FIELD_SID String ID for question field. Required parameter.
CSS Class CSS class for title. Optional parameter. If the value "Question text - HTML", is specified, the parameter is ignored. Prior to version 5.1.2, by default value - "tablebodytext".

Returned value

Processed title for the web form field is returned.

Examples of use

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

See Also

  • CFormOutput Class
  • CFormOutput::ShowInput
  • CFormOutput::ShowInputCaptionImage


  • © «Bitrix24», 2001-2024
    Up