Gossamer Forum
Home : Products : Others : Gossamer Community :

Re: [Matthias70] checkbox for Privacy Policy

Quote Reply
Re: [Matthias70] checkbox for Privacy Policy In reply to
Mmm, untested, but in your signup form, add:

Code:
<input type="checkbox" name="accept_tos" id="accept_tos" value="ON"> accept the TOS

Code:
<script>
sub do_check() {
if (jQuery('#accept_tos').attr('checked')) {
alert("please accept our TOS");
return false;
}
return true;
}
</script>

..then in the <form bit, add:

Code:
onsubmit="return do_check();"

As I said, untested - but give it a go and see if it works =)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread checkbox for Privacy Policy Matthias70 10044 Mar 17, 2010, 10:41 AM
Thread Re: [Matthias70] checkbox for Privacy Policy
Andy 9907 Mar 17, 2010, 11:54 AM
Thread Re: [Andy] checkbox for Privacy Policy
Matthias70 9924 Mar 17, 2010, 12:03 PM
Thread Re: [Matthias70] checkbox for Privacy Policy
Andy 9908 Mar 18, 2010, 12:50 AM
Thread Re: [Andy] checkbox for Privacy Policy
Matthias70 9896 Mar 18, 2010, 5:31 AM
Thread Re: [Matthias70] checkbox for Privacy Policy
Andy 9873 Mar 18, 2010, 11:06 AM
Thread Re: [Andy] checkbox for Privacy Policy
Matthias70 9873 Mar 18, 2010, 11:12 AM
Thread Re: [Matthias70] checkbox for Privacy Policy
Andy 9873 Mar 18, 2010, 11:59 AM
Thread Re: [Andy] checkbox for Privacy Policy
Matthias70 9864 Mar 18, 2010, 12:13 PM
Thread Re: [Matthias70] checkbox for Privacy Policy
Andy 9871 Mar 18, 2010, 12:48 PM
Thread Re: [Andy] checkbox for Privacy Policy
Matthias70 9857 Mar 18, 2010, 1:41 PM
Thread Re: [Matthias70] checkbox for Privacy Policy
Andy 9856 Mar 18, 2010, 1:44 PM
Post Re: [Andy] checkbox for Privacy Policy
Matthias70 9861 Mar 18, 2010, 1:51 PM