Bitrix Site Manager

CFormField::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.

See Also

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";
?>