Issue with conditionals and two forms at the same page
-
Hi, David,
I’m having some trouble with using two forms in the same page. Let me explain:
I have a form, named “Newsletter”, that have two fields, for name and e-mail. I have some conditions set to disable the “send” field if both name and e-mail fields are empty. This form is shown in every page, at the footer. As I’m not inserting it in the page content, I’m using
do_shortcode
to output it at the footer. This form works fine.Then, I have a second form, named “Booking”. It’s a form with two pages, and a bunch of fields. I have a couple of single text fields that is using conditionals to show, based on a value set in a dropdown field.
The problem is, in this “Booking” form, the conditional aren’t working. Whatever is set at the dropdown, the single text fields aren’t showing. But the “Newsletter” form works ok.
If I remove the “Newsletter” form from the page, the “Booking” form start to work ok.
Any ideas for what could be causing this issue?
Thanks for any answer!
- The topic ‘Issue with conditionals and two forms at the same page’ is closed to new replies.