# Multiple Dependencies on Same Two Fields

**URL:** <https://community.hubspot.com/t/multiple-dependencies-on-same-two-fields/15519>\
**Category:** Lead Capture Tools\
**Tags:** forms\
**Created:** [July 29, 2019, 4:59pm UTC](https://community.hubspot.com/t/multiple-dependencies-on-same-two-fields/15519 "2019-07-29T16:59:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SullivanK](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sullivank/32/43030_2.png) [@SullivanK](https://community.hubspot.com/u/SullivanK)\
**Post date:** [July 29, 2019, 4:59pm UTC](https://community.hubspot.com/t/multiple-dependencies-on-same-two-fields/15519/1 "2019-07-29T16:59:36Z")

</div>

We are new to Hubspot and working on building our initial inquiry form. We ask a two-part question on our old form to drive prospective students to the correct major and I’m looking to duplicate this:

1. What area/department are you interested in?

2. What program/major are you interested in?

What I’m looking to do is change the values that are visible in the field for question 2 depending on the answer to question 1. In all the scenarios, the same two fields will be used.

Ex:

\*If Department: “Business”, then Program options: MBA, Predictive Analytics, HR Management, etc.

\*If Department: “Education”, then Program options: Master of Education, Master of Arts in Teaching

\*If Department: “Nursing”, then Program options: Master of Science in Nursing, Master of Science Nurse Practitioner, RN to BSN, etc.

Essentially I’m looking to create a “Smart” form where I truncate the program fields to only show the eligible values based off the Department field; however, when I try and do multiple dependencies on the program field, it says it’s already in use.

Any help would be greatly appreciated. Thanks so much!

---

<div class="post-metadata">

**Author:** ![Phil\_Vallender](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/phil_vallender/32/48924_2.png) [@Phil\_Vallender](https://community.hubspot.com/u/Phil_Vallender)\
**Post date:** [July 29, 2019, 7:03pm UTC](https://community.hubspot.com/t/multiple-dependencies-on-same-two-fields/15519/2 "2019-07-29T19:03:44Z")

</div>

Hi @SullivanK

Dependant form fields doesn’t support this quite the way you want. Your only option, currently, is to create multiple versions of the program/major question and display the right one depending on the answer to question 1.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![SullivanK](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sullivank/32/43030_2.png) [@SullivanK](https://community.hubspot.com/u/SullivanK)\
**Post date:** [July 30, 2019, 8:45pm UTC](https://community.hubspot.com/t/multiple-dependencies-on-same-two-fields/15519/3 "2019-07-30T20:45:25Z")

</div>

Thank you so much for your help; this makes sense!

A follow-up: Since we integrate into Salesforce and “Program” is a single field in Salesforce, it seems the only way to update that field is to have a workflow that populates that field off of the most recent value from all of those other fields. Does this sound like a possibility?

So you have Business Programs, Education Programs, Nursing Programs, and then a “Master Program” field and the master program field updates based off of the most recently filled in value from any of those fields.. and that master program integrates to Salesforce?

---

<div class="post-metadata">

**Author:** ![MFrankJohnson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mfrankjohnson/32/22490_2.png) [@MFrankJohnson](https://community.hubspot.com/u/MFrankJohnson)\
**Post date:** [July 30, 2019, 8:53pm UTC](https://community.hubspot.com/t/multiple-dependencies-on-same-two-fields/15519/4 "2019-07-30T20:53:15Z")

</div>

You’re welcome @SullivanK …

Your plan sounds like it might work. Maybe a more experienced HS2SF admin will chime in.  
cc: @bradmin

---

<div class="post-metadata">

**Author:** ![MFrankJohnson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mfrankjohnson/32/22490_2.png) [@MFrankJohnson](https://community.hubspot.com/u/MFrankJohnson)\
**Post date:** [July 29, 2019, 7:59pm UTC](https://community.hubspot.com/t/multiple-dependencies-on-same-two-fields/15519/5 "2019-07-29T19:59:26Z")

</div>

\*\*  
 ![_hubspot-button-accept-as-solution-gif-v00.gif](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/8/280f73986e0517a27aa4068d06718dbcda1a42a2.gif)  
\*\*

**Q** : Essentially I’m looking to create a “Smart” form where I truncate the program fields to only show the eligible values based off the Department field; however, when I try and do multiple dependencies on the program field, it says it’s already in use. ?

**Short A** : Correct. This is expected HubSpot behavior.

HubSpot will not allow the re-use of a dependent field within the same form.

**Longer A** :

The solution using built-in HubSpot functionality requires four (4) fields, as follows:

- Education Department (radio select)

- Business Programs (dropdown)

- Education Programs (dropdown)

- Nursing Programs (dropdown)

- see [example form](https://share.hsforms.com/1JFuCQZwVSyOL5h3gEzLTzA2md5h)

 ![hubspot-forms-sample-multiple-dependent-fields.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/6/63ddba63c665f457bc0ee7c44c43269441981da9.png)  
HubSpot Form Using Multiple Dependent Fields

Help answer your question? If so, remember to accept this solution now.

Best,  
Frank

Chief HubSpot Consultant

* * *

* * *

 ![hubspot-solutions-signature-mfrankjohnson-v05.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/7/27f33a2557b556a36da15be33d54ef60513d59ef.png)

* * *

[MFrankJohnson.com](https://www.mfrankjohnson.com/?utm_source=hs-forum) | [_Perfecting HubSpot_ Series](https://mfrankjohnson.com/blogs/marketing-lab/tagged/_featured/?utm_source=hs-forum) | [Connect on LinkedIn](https://www.LinkedIn.com/in/mfjlabs)

 

_ **Help find posts quickly … accept this solution now.** _

---

<div class="post-metadata">

**Author:** ![bradmin](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bradmin/32/56633_2.png) [@bradmin](https://community.hubspot.com/u/bradmin)\
**Post date:** [July 30, 2019, 9:54pm UTC](https://community.hubspot.com/t/multiple-dependencies-on-same-two-fields/15519/6 "2019-07-30T21:54:52Z")

</div>

Thanks, @MFrankJohnson.

@SullivanK, you may have some luck with HubSpot workflows and form edits. You may still want to tackle this from the Salesforce side.

I haven’t checked about picklist dependencies recently. It used to be that you could set any value from any picklist; if the HubSpot contact contained an invalid set off values, a sync error occurred until you updated with appropriate values. Think of it as a fluffed-up validation error.

A HubSpot-side solution requires automation external to the system that’s validating the data. If you can accomplish the same goals with logic and automation in Salesforce, you may have more flexibility.
