Title: Not working with required fields
Last modified: September 1, 2016

---

# Not working with required fields

 *  Resolved [Unknown_Guy30](https://wordpress.org/support/users/unknown_guy30/)
 * (@unknown_guy30)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/not-working-with-required-fields/)
 * Hello,
 * I have two groups in my contact form and both have some required fields. When
   I fill first group, I can’t continue and it shows me an error that there are 
   some required fields missed.
    Same thing happens when I fill 2nd group because
   first has more fields.
 * How can I make this work?
 * Thanks.
 * [https://wordpress.org/plugins/cf7-conditional-fields/](https://wordpress.org/plugins/cf7-conditional-fields/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [Unknown_Guy30](https://wordpress.org/support/users/unknown_guy30/)
 * (@unknown_guy30)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/not-working-with-required-fields/#post-7494532)
 * Here’s the code: [http://pastebin.com/pYMsqJ6Z](http://pastebin.com/pYMsqJ6Z)
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/not-working-with-required-fields/#post-7494717)
 * Hi, required fields inside conditional groups aren’t supported by the plugin 
   yet. I’ll have to think this trough.. Cause there might be some use cases where
   people would want the fields in a hidden group to still be validated.
 * For now, however, you will have to make all the fields inside the group non-required.
 *  Thread Starter [Unknown_Guy30](https://wordpress.org/support/users/unknown_guy30/)
 * (@unknown_guy30)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/not-working-with-required-fields/#post-7494724)
 * Thanks for replying. Unfortunately, I can’t make all fields non-required because
   people then send me blank mails. :/
    However, I will create two separate forms
   so people will have to choose which service they want. That will solve the problem
   temporary.
 * If you find a solution, you can post it here.
 * Thanks again.
    Best regards!
 *  [ina2n](https://wordpress.org/support/users/ina2n/)
 * (@ina2n)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/not-working-with-required-fields/#post-7494866)
 * Great plugin! I was coding this by hand when I came across your plugin.
 * Thumbs up on the required fields. Please work on this. I could use it today.
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/not-working-with-required-fields/#post-7494868)
 * [@ina2n](https://wordpress.org/support/users/ina2n/) Don’t have a lot of time
   lately. However, since you are a developer, feel free to fork the project on 
   github. [https://github.com/pwkip/contact-form-7-conditional-fields](https://github.com/pwkip/contact-form-7-conditional-fields)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Not working with required fields’ is closed to new replies.

 * ![](https://ps.w.org/cf7-conditional-fields/assets/icon-256x256.png?rev=2072595)
 * [Conditional Fields for Contact Form 7](https://wordpress.org/plugins/cf7-conditional-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-conditional-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-conditional-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-conditional-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-conditional-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-conditional-fields/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/not-working-with-required-fields/#post-7494868)
 * Status: resolved