Jump to content

Conditional Logic

Go to solution Solved by paul2009,

Recommended Posts

Greetings,

Here's the situation.  I have a very simple form in development for a travel agency.  I have a dropdown box with about six different choices for different agents, and based on what the user selects from this dropdown, I would like to have the form submit to their particular email address with the SUBMIT button.  Anybody have any experience with that?

 

Thanks!

Link to comment
  • Solution

Squarespace forms don't have this feature.

  • One simple workaround is to duplicate the form - one per email address - and then direct users to the right form depending on the link they click.
  • You use code to create a dropdown that selectively hides and shows forms on the same page, depending on the option selected. This will require a Business Plan (or above) and some custom JavaScript to be written.
  • There are a number of third party forms providers like Typeform (preferred), Wufoo and others.
Edited by paul2009

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.