Title: Conditionals? (IF/ELSE/ELSE IF)
Last modified: January 20, 2021

---

# Conditionals? (IF/ELSE/ELSE IF)

 *  Resolved [aaroncabanas](https://wordpress.org/support/users/aaroncabanas/)
 * (@aaroncabanas)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/conditionals-if-else-else-if/)
 * Hello!
 * I need a contact form which I created with your 30€ version (highly recommended)
   and I would like to know if I am able to do the next case:
 * A user specifies in the direction field > country, that he is from Spain, so 
   I need to ask him which province is he exactlly from, and it has to be required.
   Can I somehow make that province field appear only if the user specifies he is
   from Spain in another field (direction > country)?
 * Thanks you in advanced!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fconditionals-if-else-else-if%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Zhanna Khachatryan](https://wordpress.org/support/users/zhannak/)
 * (@zhannak)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/conditionals-if-else-else-if/#post-13936017)
 * Hi [@aaroncabanas](https://wordpress.org/support/users/aaroncabanas/),
 * Thanks for your inquiry.
 * Dear friend, I see you have marked this as resolved, but in case that was done
   by mistake or for the future readers let me answer 🙂
 * This can be done by conditional fields.
 * First, you need to create 2 separate fields one for the country list and the 
   other for provinces.
 * Then you need to enter the form > settings > conditional fields and add a condition
   to show Spain provinces’ field once Spain will be selected from the country list.
 * If you’ll have any difficulties, feel free to write me here 🙂
 *  Thread Starter [aaroncabanas](https://wordpress.org/support/users/aaroncabanas/)
 * (@aaroncabanas)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/conditionals-if-else-else-if/#post-13936292)
 * Thanks!
 * I just find it out a few minutes after posting here and tried to remove the post
   with no result, anyways thank you so much for the support.

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

The topic ‘Conditionals? (IF/ELSE/ELSE IF)’ is closed to new replies.

 * ![](https://ps.w.org/form-maker/assets/icon-256x256.png?rev=2068681)
 * [Form Maker by 10Web - Mobile-Friendly Drag & Drop Contact Form Builder](https://wordpress.org/plugins/form-maker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/form-maker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/form-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/form-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/form-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/form-maker/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [aaroncabanas](https://wordpress.org/support/users/aaroncabanas/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/conditionals-if-else-else-if/#post-13936292)
 * Status: resolved