3
3
3emik2020-07-21 14:10:34
WordPress
3emik, 2020-07-21 14:10:34

Wordpress CF7 how to send custom value from request page?

Good afternoon everyone.
There is a site made on Wordpress. This site has the Contact Form 7 plugin installed to send messages from the site.
Also on the site there is a page - the master plan of the village. Depending on the selected site, a div block pops up with information about the selected site with a button "Submit a request for this site", when clicked, the CF7 form for submitting an application opens (Name, phone number and site number).
Can you tell me how can I make the field "Lot Number" automatically filled in?
In the pop-up information window, the given "Lot number" value is wrapped in h4 with the value id="nomer_uch"
All information about the parcels is taken from the database.
How difficult will it be?
PS I don’t really rummage in programming, if it’s not difficult, then tell me the code
Thank you in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lord_Dantes, 2020-07-29
@Lord_Dantes

In JS, when you click on a site, you get its number or ID, and when filling out the form, replace the value of the Plot number field with this ID.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question