Nested groups with email selection radios not working anymore
-
Hello,
Since I updated my plugins on November 17th, my form is now broken and no email is sent anymore.
I have nested fields with different email addresses based on selection liek this:<div class="form-item"> <div class="item-label"> <label for="nom">Name *</label> </div> <div class="item-input"> [text* your-name] </div> </div> <div class="form-item"> <div class="item-label"> <label for="email">Email *</label> </div> <div class="item-input"> [email* your-email] </div> </div> <div class="form-item"> <div class="item-label"> <label for="">Test *</label> </div> <div class="item-input"> [select* test-1 "Email|[email protected]" "Condition"] </div> </div> [group nested-group] <fieldset> <legend>Nested test *</legend> [radio test-2use_label_element "Email 1|[email protected]" "Email 2|[email protected]"] </fieldset> [/group] <div class="form-item"> <div class="item-label"> <label for="objet">Subject *</label> </div> <div class="item-input"> [text* your-subject] </div> </div> <div class="form-item"> <div class="item-label"> <label for="your-message">Message *</label> </div> <div class="item-input"> [textarea* your-message] </div> </div> [honeypot email] <div class="form-item form-submit"> <div class="submit"> [submit class:btn-main "Send"] </div> </div>
Here’s the conditional rule of this example:
show [nested-group] if [test-1] equals "Condition"
And here’s what I have in the “to” field:
[test-1], [test-2]
This case was working perfectly before I updated the plugins.
I guess the problem is the [test-2] field is not required because it appears conditionally, and the fields in the “to” field should be required.There’s no error message when I send the form, it reacts like it’s working perfectly, but the email is not sent. If I remove “[test-2]” in the “to” field, the mail is sent.
Thank you
- The topic ‘Nested groups with email selection radios not working anymore’ is closed to new replies.