Jump to content

How to have conditional fields in a form block?

Recommended Posts

I am trying to create a form where i can give radio button but if one is selected, the visitor has to input another field as mandatory; that is one field is linked to another.

For example:
Where did you hear about us?

  1. Website
  2. Social Media
  3. Other

And if “Other” is selected, the visitor must fill a text box “If other, kindly specify”.

How can I achieve this? I am trying to make a form for my Squarespace website. I have made a Text Block with placeholder text saying – “if other, kindly specify” but I cannot make it mandatory as it would be unnecessary if someone selects “website”.

Please help any direction would be great.

Regards

Link to comment
  • 4 weeks later...
  • Replies 2
  • Views 13.6k
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.