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: Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? 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