V
V
volunteerig2021-03-26 14:44:32
Bitrix24
volunteerig, 2021-03-26 14:44:32

Lead form Bitrix24. How to forward fields to the lead card?

Hello.

I'm trying to forward the field that is in Bitrix24 in Lida, but not display it in the form. The documentation describes that there is such an option:

<script>
window.addEventListener('b24:form:init', (event) => {
    let form = event.detail.object;
    /*if (form.identification.id == 792) {
        form.setProperty("param1", "1");
        form.setProperty("city", "Kaliningrad");
    }*/
});
</script>

Link to the Bitrix article: https://helpdesk.bitrix24.ru/open/12853296
Instead of param1 and city, I use the field names from Bitrix "UF_CRM_1616660274403"
Parameters are set at the form level, but they do not arrive in Bitrix.
Please tell me what could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
donich, 2021-04-16
@donich

If we are talking about custom fields of the "list" type, then at the moment this is not possible for technical reasons. I contacted B24 technical support on this issue and an application was created for the development of "CRM-form: Ability to specify personalization tags for a custom field of the "List" type." Application number: 85002.
If we are talking about custom fields such as "string", "link", etc., then for this add the fields that you want to fill using the script in the "Default Field Values" section. And as values, specify the name of the parameters that will be used in the script. For example, %my_param1%.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question