Answer the question
In order to leave comments, you need to log in
How to change the form in the module?
Good day.
You need to edit the form on Drupal 7, or rather insert the last saved values (value) into the inputs.
Created a module folder (my_modules) with two extensions my_modules.info my_modules.modules.
In the file my_modules.modules I write the following code to display the id of the forms on the site:
function my_modules_alter(&$form, &$form_state, $form_id){
dsm($form_id);
print_r($form_id);
print render($form_id);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question