L
L
Lev Aleksandrov2021-09-09 11:08:14
Drupal
Lev Aleksandrov, 2021-09-09 11:08:14

How to make a feedback form in a modal window with an AJAX request (Drupal 7)?

There is a ready layout.
On clicking the button, a modal window with the form is displayed.
I want to make an AJAX request when submit is clicked and then pop up another modal with a success message. Well, then there is sending to the mail, etc.
How can I link all this to the Drupal 7 admin panel?
I have already searched everything and got confused, tell me how best to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lev Alexandrov, 2021-09-10
@h3ckphy

Installed the webform and modal_forms modules.
Displayed the form created through the webform in the modal module of the modal_forms module.
Now I'm trying to style the form and the modal

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question