Require Certain Form Properties with Conditional Logic

AGriffin5
Member

Hi. 

 

I want to require the state property on a form only when the country property is set to the US. Similarly, I want to require the province property when the country property is set to Canada. Is there a way to do this? I'm not seeing any "require" option in the conditional logic. 

 

Thanks for the help!

0 Upvotes
1 Accepted solution
karstenkoehler
Solution
Hall of Famer | Partner
Hall of Famer | Partner

Hi @AGriffin5,

 

This is possible through dependent form fields: https://knowledge.hubspot.com/forms/use-dependent-form-fields

 

Making a dependent field required works the same way as making any other field n the firm required. Set it up as conditional field, then click in it, and in the left sidebar enable the required toggle.

 

Best regards

Karsten Köhler
HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer

Beratungstermin mit Karsten vereinbaren

 

Did my post help answer your query? Help the community by marking it as a solution.

View solution in original post

1 Reply 1
karstenkoehler
Solution
Hall of Famer | Partner
Hall of Famer | Partner

Hi @AGriffin5,

 

This is possible through dependent form fields: https://knowledge.hubspot.com/forms/use-dependent-form-fields

 

Making a dependent field required works the same way as making any other field n the firm required. Set it up as conditional field, then click in it, and in the left sidebar enable the required toggle.

 

Best regards

Karsten Köhler
HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer

Beratungstermin mit Karsten vereinbaren

 

Did my post help answer your query? Help the community by marking it as a solution.