Support » Plugin: Mailchimp for WordPress » Conditional required fields are not working

  • Resolved Abdul Samad

    (@abdul-samad-k-t)


    Hi,

    Thanks for the wonderful plugin.

    I have created a form with a conditional field for a dropdown. If an option is selected, the conditional text field will show.

    <span data-show-if=”MMERGE5:ABN”>
    <input type=”text” name=”MMERGE3″ placeholder=”ABN”
    required=””>
    </span>

    But the issue is if I select any other option and submit the form, it shows an error “Please fill in the required fields.” even if the above text field is hidden. How to solve that issue. Please help

Viewing 1 replies (of 1 total)
  • Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey Abdul,

    Thanks for reaching out to us.

    Please note that if a field is marked as “Mandatory” in your MailChimp list or in our form, then you will see that error. The only way to avoid this is to not mark it as a “required” field.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.