Mmm, untested, but in your signup form, add:
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:
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!
Code:
<input type="checkbox" name="accept_tos" id="accept_tos" value="ON"> accept the TOSCode:
<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!