# Forms - "Or" logic in dependent fields

**URL:** <https://community.hubspot.com/t/forms-or-logic-in-dependent-fields/62466>\
**Category:** HubSpot Ideas\
**Tags:** forms\
**Created:** [August 5, 2022, 3:33pm UTC](https://community.hubspot.com/t/forms-or-logic-in-dependent-fields/62466 "2022-08-05T15:33:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SOvallesReyes](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sovallesreyes/32/13631_2.png) [@SOvallesReyes](https://community.hubspot.com/u/SOvallesReyes)\
**Post date:** [August 5, 2022, 3:33pm UTC](https://community.hubspot.com/t/forms-or-logic-in-dependent-fields/62466/1 "2022-08-05T15:33:10Z")

</div>

Set up a dependent field logic that allows a field to evaluate multiple variables in a statement would be a valuable addition to forms.

When working on a form, if you need to ensure a field (e.g.email) is entered fully so other form fields can populate, you can use dependent fields to set up a logic that checks for it. However, multiple can’t be added in the same statement, for example:

When using the email property, trying to add more than one requirement to the logic

- Existing… **email contains “.com” show lead status**

- NEW… **email contacts “.org” show lead status**

You’ll get an error message telling you it’s not possible to reference “LEAD STATUS” twice.

Allowing for this feature to include multiple conditionals would make the dependent field logic better, more specific and flexible.

Thanks!

---

<div class="post-metadata">

**Author:** ![petermuldoon](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/petermuldoon/32/22074_2.png) [@petermuldoon](https://community.hubspot.com/u/petermuldoon)\
**Post date:** [November 18, 2023, 3:07am UTC](https://community.hubspot.com/t/forms-or-logic-in-dependent-fields/62466/2 "2023-11-18T03:07:01Z")

</div>

Yes. Totally agree. This is something we require as well.

---

<div class="post-metadata">

**Author:** ![BryanBarajas](https://avatars.discourse-cdn.com/v4/letter/b/fbc32d/32.png) [@BryanBarajas](https://community.hubspot.com/u/BryanBarajas)\
**Post date:** [December 13, 2023, 2:33pm UTC](https://community.hubspot.com/t/forms-or-logic-in-dependent-fields/62466/3 "2023-12-13T14:33:43Z")

</div>

We have the same issue. There are multiple domains that I want to show a dependent field. Am I not able to add multiple conditions separated by commas or semicolons?

Example

If email CONTAINS

domain1, domain2

OR

If email CONTAINS  
domain1; domain2
