Title: Conditional fields with requirements?
Last modified: November 16, 2016

---

# Conditional fields with requirements?

 *  [Peterneedsomehelp](https://wordpress.org/support/users/peterneedsomehelp/)
 * (@peterneedsomehelp)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/conditional-fields-with-requirements/)
 * For example
 * First Question:
    Chose your profession: IT Construction Hotel Restaurant
 * If I choose IT second question is:
    Please specify area: Networking Development
   Support
 * This is just an example but is it correct that I cannot set the second question
   as required? Of course it should only be required if the person choses IT on 
   the first question. Is this correct that questions based on conditions can not
   be mandatory?

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

 *  [borisv](https://wordpress.org/support/users/borisv/)
 * (@borisv)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/conditional-fields-with-requirements/#post-8444714)
 * What “second question”?
    What’s your real question?
 * Making multiple vague questions is not helpful.
 *  Thread Starter [Peterneedsomehelp](https://wordpress.org/support/users/peterneedsomehelp/)
 * (@peterneedsomehelp)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/conditional-fields-with-requirements/#post-8445826)
    -  **What is your age? (\*Required)**
    - 0-18 years
    - 18-35 years
    - 35 and older
 *  -  **Do you have your parents consent to visit this page? (\*Required)**
    - yes
    - no
 * So question 2 should only be shown if the user selects 0-18 years on the first
   question, so it is a conditional question based on the answer of question 1. 
   However, it seems that I cannot make it required because if someone selects 18-
   35 or 35 and older the form will not go through since a required question (parents
   consent) haven’t been answered, but it isn’t shown to the user so it’s a catch
   22.
 * Is this correct that you cannot have required fields if they are conditional?
   I hope this clarifies my problem

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

The topic ‘Conditional fields with requirements?’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

## Tags

 * [conditional field](https://wordpress.org/support/topic-tag/conditional-field/)
 * [mandatory](https://wordpress.org/support/topic-tag/mandatory/)

 * 3 replies
 * 2 participants
 * Last reply from: [borisv](https://wordpress.org/support/users/borisv/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/conditional-fields-with-requirements/#post-8446048)
 * Status: not resolved