Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

How to have conditional fields in a form block?


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.


Edited by TylerF

Share this post

Link to post

2 answers to this question

Recommended Posts

  • 1

Rony I do not know if this can be done in SS with some code, but I have used Jotform for exactly this type of conditional functionality - the forms are easily embedded. check it out

Edited by SOIN

Share this post

Link to post
  • 0

Hi Rony - Just wondering if you managed to solve this? I'm trying to do something similar myself.

Share this post

Link to post
This topic is now closed to further replies.

  • Create New...