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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.