Documentation

GetBySID

CDBResult
CFormField::GetBySID(
 int field_sid
)

The method GetBySID returns the parameters of a question or a field as a CDBResult instance.

Parameters

Parameter Description
field_sid The symbolic identifier of the question or the field.

Example



<?
$FIELD_SID = "VS_INTEREST"; // symbolic identifier of the question or the field of a web form
$rsField = CFormField::GetBySID($FIELD_SID);
$arField = $rsField->Fetch();
echo "<pre>"; print_r($arField); echo "</pre";
?>
© «Bitrix24», 2001-2024