Forms: Conditional Logic

IMPORTANT: Not "Dependent Fields".

 

Please see Gravity Forms' conditional logic functionality for example: https://www.gravityforms.com/form-conditional-logic/

 

At present, HubSpot "Dependent Fields" can serve new form fields based on a selection made in a previous form field. 

 

"Conditional Logic", however, serves different form field options based on a selection made in a previous form field. This is an important distinction as it requires only one "Property" for the options, regardless of the initial form field selection.

 

If I'm not clear, here's an example:

 

Property 1: Location

Property 2: Duration

 

User selects from a Location dropdown. Location options are "Madrid" or "London". 
We only offer "4 Weeks" and "6 Weeks" for "London", but offer "4 Weeks" or "12 Weeks" for "Madrid".

"Dependent Fields" will serve Duration upon a Location selection, but all options will be shown, even though we do not offer all Duration options for both Locations

 

HubSpot recommends we create a new "Property" for each Location. This is not feasible when there are many Locations.

 

"Conditional Logic" simply serves the appropriate form field options based on the Location selected. So when selecting "London" the options shown would be "4 Weeks" and "6 Weeks", and for "Madrid" only "4 Weeks" or "12 Weeks" would be shown, but they would all populate the same "Property". Duration.

 

Please upvote. 

HubSpot updates
changed to: Being Reviewed
Jun 3, 2020

Hi HubSpot Community,

 

My name is Joe, I'm the Ideas Forum Manager. I wanted to thank you for your thoughtful comments on this post. Your feedback helps us build better products.

 

I think this a great Idea! I'm happy to say we are currently reviewing this request and its feasibility. At this time I don’t have any details around timing or delivery, but all updates will be relayed on this thread.

I am changing the status of this idea to Being Reviewed as our team scopes out this work.


Best,
Joe

8 Replies
New Contributor

It would be great to also use this to end the form.

 

e.g. we're running a competition which is only open to XYZ countries; if country does not equal XYZ then jump to new URL "sorry you do not qualify to enter, but thank you for your interest" - currently jumps only go to other contact fields.

Occasional Contributor

Hi, 

We really need this idea to go into Hubspot as soon as possible.. 

 

We have a use case where this conditional logic is really important in more than one fields. Having several products with different features and generic or area landing pages, it would really increase our conversion to have something like that instead of an extremely large dropdown in order to ease the user selection. 

 

Thanks!

 

Dani 

Occasional Contributor

It is so limiting not having this natively in Hubspot. Even the most basic form builder support this. So we have only two options. Use another form builder and integrate or pay for custom code. Not acceptable in such an advanced product.


This is made worse by the fact that the contact properties are not always updated in time to then have a work around of dynamic content on the thank you page.  I mean, come on!

Occasional Contributor

This is really needed. Conditional logic should allow you to:

 

  1. Display dynamic options - I should only need to have two fields for Country & State/Region. But instead with the current forms, I have to have a custom fields for US States, Canadian Provinces, etc. and map those values to a State field through a workflow.
  2. Do other things than just showing fields - e.g. if field value is Foo, set other hidden field value to Bar. It would also be nice to show notifications based on inputs / values.

You're basically forced to use a third party provider that integrates with HubSpot or write your own custom forms and use the API.

New Contributor

This is truly essential. My organization moved to HubSpot for it's "one-stop shop" promise for all of our needs, but it seems HubSpot forms need some serious add-ons. I appreciate being able to link Gravity Forms, but even then you can't adjust field mappings. Conditional formatting and removing the submission button based on field selections are table stakes for web forms.

Occasional Contributor

YES. I need this as well. Thanks for sharing. 

HubSpot Moderator
HubSpot Moderator
updated to: Being Reviewed

Hi HubSpot Community,

 

My name is Joe, I'm the Ideas Forum Manager. I wanted to thank you for your thoughtful comments on this post. Your feedback helps us build better products.

 

I think this a great Idea! I'm happy to say we are currently reviewing this request and its feasibility. At this time I don’t have any details around timing or delivery, but all updates will be relayed on this thread.

I am changing the status of this idea to Being Reviewed as our team scopes out this work.


Best,
Joe

New Member

Yes! This is a much-needed feature and would allow us to get so much more nuanced data from our users. Here is an example of how I'd use this functionality:

Example 1:

  1. The first time Skyler fills out our form, we ask his persona. Let's say he chooses "Child Care Provider."
  2. The second time Skyler fills out our form, I'd like him to answer "How many children do you care for?" and "What are your hours?" because he's a child care provider.

Example 2:

  1. The first time Priya comes to our site, we ask her persona. She selects "Parent."
  2. The second time Priya comes to our site, I'd like her to not see "How many children do you care for" or "What are your hours?". Those are not relevant to her persona. Instead, I'd like to ask her, "Are you working full-time?" and "Do you have any children in child care?"

Thanks for considering this functionality!