Answer the question
In order to leave comments, you need to log in
Contact form 7 pass modal title?
Hello. There is a site on WordPress with different forms, for example, products inside the modal window description and feedback form is needed in the letter template so that the title of the modal window comes, tell me how to implement it https://clck.ru/EPDst
Answer the question
In order to leave comments, you need to log in
You need to add a hidden field to the form, when you click on the card button in this hidden field using JavaScript, pass the name of the card on which the click was made.
Yes, you can, if on bootstrap - here is off-doc, even if not bootstrap - you can use the same logic, but your own selectors and triggers.
$('#myModal').on('shown.bs.modal', function () {
$('#myInput').trigger('focus')
})
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question