Title: Conditional Fields, being weird
Last modified: July 24, 2020

---

# Conditional Fields, being weird

 *  Resolved [callingmrjones](https://wordpress.org/support/users/callingmrjones/)
 * (@callingmrjones)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/conditional-fields-being-weird/)
 * I have a custom registration form with a Role select (I tried Dropdown and Radio)
   radio.
    It’s just a basic phone number field, for now.
 * I have it set to :
    show – Roles (Radio) – equals to – um_both show – Roles (
   Radio) – equals to – um_advertiser hide – Roles (Radio) – equals to – um_affiliate
 * (I’ve checked the source, the ID’s match)
    So, what should happen is if I select
   Both or Advertiser from the radio options, the telephone field should show. If
   i select “Affiliate” then it won’t show (as default). Now, what happens is the
   field (Phone Number) is showing when the form loads (It shouldn’t be). Choose
   Advertiser : Phone number dissapears Choose Affiliate : Phone number dissapears
   Choose Both : Phone number dissapears
 * Am i doing something really daft?

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/conditional-fields-being-weird/#post-13227873)
 * Hi [@callingmrjones](https://wordpress.org/support/users/callingmrjones/)
 * Sorry for the late response.
 * What happens if you put `hide – Roles (Radio) – equals to – um_affiliate` above
   everyone? The UM field conditions are set to “OR” and not as “AND”.
 * Feel free to re-open this thread if there’s any question that may come up.
 * Regards,

Viewing 1 replies (of 1 total)

The topic ‘Conditional Fields, being weird’ 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](https://wordpress.org/support/topic-tag/conditional/)

 * 1 reply
 * 2 participants
 * Last reply from: [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/conditional-fields-being-weird/#post-13227873)
 * Status: resolved