Dor Reznik Posted September 19, 2019 Share Posted September 19, 2019 so i want to have users to agree on two things (in checkboxes) before they can submit a form to me.(just like you cant proceed without agreeing the term and conditions on some websites/services) how would i do that?is there a way in javascript to check by the ID of the checboxes if they are checked or not (true/false), and if they arent checked - and try to submit the form -> they will get a pop-up saying they must check the inboxes before submitting the form?thanks Link to comment
paul2009 Posted September 19, 2019 Share Posted September 19, 2019 If you add a checkbox field and set it to required, the form cannot be submitted until it is checked. 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
Dor Reznik Posted September 19, 2019 Author Share Posted September 19, 2019 indeed but i have two checkboxes, if only one is marked they can still submit the form Link to comment
paul2009 Posted September 19, 2019 Share Posted September 19, 2019 Add them as separate fields. 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
Dor Reznik Posted September 19, 2019 Author Share Posted September 19, 2019 thanks its a nice idea, i did it for now, however it is still a bad workout, since its required it adds a '*' to the title which doesnt exist on the second one... i wish it could be built in option, sounds fairly simple to do Link to comment
Iain_R_ Posted February 4, 2020 Share Posted February 4, 2020 I have a follow on question. I have a set of T&Cs (pdf document) that I want users to confirm they agree to via tick box before submitting form. Is there a way I can insert a hyperlink to the text in the form editor? e.g. "Read T&Cs here" Link to comment
Those_Who_Squirm Posted August 29, 2021 Share Posted August 29, 2021 On 9/19/2019 at 3:39 PM, Dor Reznik said: thanks its a nice idea, i did it for now, however it is still a bad workout, since its required it adds a '*' to the title which doesnt exist on the second one... i wish it could be built in option, sounds fairly simple to do I agree. I'm dealing with the same issue now. A checkbox-to-proceed field should never have more than one checkbox and I don't know how I am going to fix this. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.