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: About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥. Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links. Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional. 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