CDM-media Posted September 22, 2022 Share Posted September 22, 2022 Site URL: https://grtv1.squarespace.com/ Hi everyone, I was wondering if anyone could help with some custom CSS (or any other more obvious solution that I have missed) where a website user filling out a form is required to make a selection from a dropdown. Yes, I know about the form field settings and I have certain fields toggled to "required".... however, the SS form just shows up with the first option in the select list already selected. So basically, a user could breeze through the form without actually making intentional selections, and just submit what is there by default. In the dropdown fields for Purchaser type, Contact Preference, Desired Suite type, and Where did you hear about us?, I would like for those fields to be empty, or unselected, as a default, rather than showing the first option in the list. I hope I'm explaining my question clearly. Screenshot below. And the site is at: https://grtv1.squarespace.com/ PW is GRT Link to comment
Solution paul2009 Posted September 22, 2022 Solution Share Posted September 22, 2022 27 minutes ago, CDM-media said: I was wondering if anyone could help with some custom CSS (or any other more obvious solution that I have missed) where a website user filling out a form is required to make a selection from a dropdown. You should be able to prevent the user submitting the form if they do not select a valid option from the dropdown. To do this, add a blank first option to the dropdown (delete all text until 'Option' is shown) and ensure the dropdown is set to Required. The empty field should be rejected when the user tries to submit the form: Improve your online store with our extensions.About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation 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)Buy me a coffee Link to comment
CDM-media Posted September 22, 2022 Author Share Posted September 22, 2022 This worked! Thanks so much Paul! paul2009 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment