-
AuthorPosts
-
January 20, 2024 at 5:17 pm #1431579
Hello
I am trying to make a button direct user to my contact form with preselected information depending which button was pressed.
For example if I have 3 buttons: apple, orange, pear. If the user presses “apple”, I want to direct the user to the /contact form where there is a field with “apple” selected from a list (or typed/printed in a text box) so I know which fruit they selected. I know how to add the dropdown to the contact form but not how to make the selection based on the button pressed.
I do not want to ceate a contact form for each option.
Thank you
-
This topic was modified 1 year, 10 months ago by
TBant.
January 20, 2024 at 6:15 pm #1431587It appears something like http://localhost/wordpress/contact/?fruit=apple works on contact form 7.. is something like this possible with the Enfold default form?
January 20, 2024 at 6:26 pm #1431589I have resolved this for now by installing contact form 7 however I would be interested to know if this functionaltiy is available with Enfold, and this may help other people looking for the solution.
January 22, 2024 at 6:52 am #1431653Hi,
Thank you for the inquiry
This option is not built into the default contact form, but you can achieve it using custom scripts. However, we recommend sticking with the Contact Form 7 implementation, as it provides more options for future customization.
Best regards,
IsmaelFebruary 2, 2024 at 6:47 am #1432786for a button you can try to insert the link as:
(Email address hidden if logged out) ?subject=Kontaktaufnahme%20über%20Ihre%20Homepage&body=Sehr%20geehrte%20Damen%20und%20Herrenspaces should be made as:
%20
first is the subject with a Questionmark ?
next body text added by Ampersand &February 2, 2024 at 12:23 pm #1432824 -
This topic was modified 1 year, 10 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
