G
G
Grione2021-01-07 12:42:09
1C-Bitrix
Grione, 2021-01-07 12:42:09

How to fill in value using php for a hidden field in Birix forms?

I use standard Bitrix forms. The task is to make it visible in the admin panel from which page the form is being filled. I want to create a hidden input and fill in the page title there.
Hidden input made, through the form template. How can I fill it in now? I understand what I can do in JS, but it's more logical to do it in php here. Tell me how?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2021-01-07
@Deemc

<input type="hidden" value="<?$APPLICATION->ShowTitle(); ?>" />

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question