Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am using latest umbraco forms. One thing I want to do is, prevent users from submitting the form until they tick 3 checkboxes for terms and conditions.
Any suggestions on the best way todo this?
Regards
Ismail
ok so just put some code into my template:
<script type="text/javascript"> $(document).ready(function() { $('#submitbtn').attr('disabled', 'disabled'); var checkBox = 'input[type="checkbox"]'; $(checkBox).change(function() { if ($(checkBox + ':checked').length === $(checkBox).length) { $('#submitbtn').removeAttr("disabled"); } else { $('#submitbtn').attr('disabled', 'disabled'); } }); }); </script>
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Conditionally enable submit button
I am using latest umbraco forms. One thing I want to do is, prevent users from submitting the form until they tick 3 checkboxes for terms and conditions.
Any suggestions on the best way todo this?
Regards
Ismail
ok so just put some code into my template:
is working on a reply...