GetByID
CDBResult CFormField::GetByID( int field_id )
The method GetByID returns the parameters of a question or a field as a CDBResult instance.
Parameters
Parameter | Description |
---|---|
field_id | The ID of the question or the field. |
Example
<? $FIELD_ID = 140; // The ID of the question or the field of a web form $rsField = CFormField::GetByID($FIELD_ID); $arField = $rsField->Fetch(); echo "<pre>"; print_r($arField); echo "</pre"; ?>
© «Bitrix24», 2001-2024