S
S
Sergey Khlopov2017-11-27 20:45:34
Drupal
Sergey Khlopov, 2017-11-27 20:45:34

How to programmatically write a value to a webform?

Hello, tell me please. How can I programmatically write the value of a variable to a webform in php. Here I have a webform created, and I need to write values ​​\u200b\u200bto certain inputs. Please tell me how can I do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
afi13, 2017-11-28
@afi13

You can use hook_form_FORM_ID_alter()
https://api.drupal.org/api/drupal/core%21lib%21Dru...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question