Title: Allow Condition Value to take multiple values
Last modified: July 28, 2022

---

# Allow Condition Value to take multiple values

 *  [orangetech](https://wordpress.org/support/users/orangetech/)
 * (@orangetech)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/allow-condition-value-to-take-multiple-values/)
 * Hey,
    Looking to see if this exists in the plugin. I’ve attached a screenshot
   here: [https://i.gyazo.com/ce2cc10be32c9adade844f2c79838510.png](https://i.gyazo.com/ce2cc10be32c9adade844f2c79838510.png)
 * Under User Meta can you have multiple condition values under 1 meta condition?

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

 *  [john](https://wordpress.org/support/users/johnweru/)
 * (@johnweru)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/allow-condition-value-to-take-multiple-values/#post-15870838)
 * Hi there,
 * Thanks for reaching out to us.
 * With respect to your question here, unfortunately that is not possible by default
   while using the condition “contains”. The condition you can perhaps use is “Is
   Equal to One of” and add values separated by a comma.
 * I hope this helps.
 * Kind Regards,
 * John
 *  Thread Starter [orangetech](https://wordpress.org/support/users/orangetech/)
 * (@orangetech)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/allow-condition-value-to-take-multiple-values/#post-15872260)
 * Hey,
    I use contains because it’s the domain for user_email. If I use is equal
   to one of, it wouldn’t match if it wasn’t the full email address: [Administrator@example.com](https://wordpress.org/support/topic/allow-condition-value-to-take-multiple-values/Administrator@example.com?output_format=md)
 *  [john](https://wordpress.org/support/users/johnweru/)
 * (@johnweru)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/allow-condition-value-to-take-multiple-values/#post-15876643)
 * Hi there,
 * Thanks for keeping in touch with us.
 * In this case, yes “Is Equal to One of” would need the full email address for 
   the value.
    Unfortunately the condition “contains” does not incorporate multiple
   conditional values by default. Implementing this functionality would unfortunately
   entail some custom work.
 * Please feel free to reach out once again in case of any questions.
 * Kind Regards,
 * John
 *  [skandibanda](https://wordpress.org/support/users/skandibanda/)
 * (@skandibanda)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/allow-condition-value-to-take-multiple-values/#post-16047023)
 * Hi John,
    We have a similar issue. We are trying to show the widget only to certain
   group of users who login to the website.
 * for this, I like to use meta condition “is equal to one of” for meta name “user_email”
   with condition value “comma-separated 20 email ids”
 * But this looked like not working. If I use contains with only one email, it works.
 * could you please support how can I achieve my request
 *  [john](https://wordpress.org/support/users/johnweru/)
 * (@johnweru)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/allow-condition-value-to-take-multiple-values/#post-16047974)
 * Hi there,
 * Thanks for reaching out to us.
 * With respect to your question here, in your case I would suggest that you instead
   use the following visibility sections:
 * i) **User Role**
    – Set the role to “logged in users”
 * ii) **User Meta**
    -Set the meta name to user_email -Meta Condition: Is equal
   to one of -Condition Value: Set the list of emails separated by commas
 * Let us know if this gets to help.
 * Kind Regards,
 * John

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

The topic ‘Allow Condition Value to take multiple values’ is closed to new replies.

 * ![](https://ps.w.org/visibility-logic-elementor/assets/icon-256x256.png?rev=2534122)
 * [Visibility Logic for Elementor](https://wordpress.org/plugins/visibility-logic-elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/visibility-logic-elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/visibility-logic-elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/visibility-logic-elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/visibility-logic-elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/visibility-logic-elementor/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [john](https://wordpress.org/support/users/johnweru/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/allow-condition-value-to-take-multiple-values/#post-16047974)
 * Status: not resolved