O
O
Octoberfest2017-01-17 14:03:43
PHP
Octoberfest, 2017-01-17 14:03:43

How to add a hidden field to the 1C Bitrix form?

Hello. It is necessary to add a hidden html input with a value from $_SESSION to Bitrix forms, how can this be done? Which way to look? Is it possible to send session values ​​somehow using Events

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Roman Gritsuk, 2017-01-17
@winer

And what is the form? What component displays it? Most likely, you just need to open the component template and add this input to it.

A
Andrey Nikolaev, 2017-01-17
@gromdron

It all depends on how it's implemented.
Maybe this is a regular web form, with a default template (which can be corrected from the admin panel) or a web form with an html template.
Perhaps this is a custom form and an entry in the infoblock.
First decide what form you have to deal with.

S
Sergey, 2017-01-18
@gangstarcj

Add a field to a web form. In the component template, display it as hidden. Delov for 2 minutes

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question