A
A
Aili2022-02-28 00:13:06
1C-Bitrix
Aili, 2022-02-28 00:13:06

Bitrix. How to display custom fields on registration page?

Registration page: auth/register.php. The bitrix:main.profile component.
It is necessary to display fields on the page in your design. How it is possible to deduce fields which values ​​goes through communication with directories?
Normal string fields are displayed this way, and are filled in upon registration. But where there is a connection of values ​​\u200b\u200bis not working :(

<?
if ($arResult['DATA_SAVED'] == 'Y' AND $arResult["USER_PROPERTIES"]["SHOW"] == "Y")
  ShowNote(GetMessage('PROFILE_DATA_SAVED'));
?>
<input type="text" name="UF_PPO_NAME" maxlength="255" value="<?=$arResult["USER_PROPERTIES"]["DATA"]["UF_PPO_NAME"]["VALUE"]?>" />

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question