MayMusic Posted June 22, 2010 Report Share Posted June 22, 2010 How can I have a agreement checkbox, which by checking, the continue button will be enabled and let users to continue. Quote Link to comment Share on other sites More sharing options...
nkamalan Posted June 22, 2010 Report Share Posted June 22, 2010 Hi, You can simply add this code to a HTML block. It will create a check box and a continue button to let users continue. function f_boxcheck() { if(document.getElementById("myCheck").checked){ document.getElementById("mybutton").disabled=false; }else {document.getElementById("mybutton").disabled=true;} } document.getElementById("myCheck").onclick=f_boxcheck; Regards, Naghmeh Quote Link to comment Share on other sites More sharing options...
bahar_vm Posted June 22, 2010 Report Share Posted June 22, 2010 I have a simpler solution which does not need a Java Script. You can use a Caspio Yes/No or Text255 field, add this field into your Web Form and move it down to the end of the elements list (or anywhere in the list that you want the check box to be displayed). Then choose "Checkbox" for the form element, and make it a required field by checking "Required" box. Insert an HTML block right after the checkbox field. Put in your terms and conditions text inside the HTML block and in order to have the text appear right after the checkbox you can highlight the checkbox field and go to the Advanced tab (Enable Advanced Options from the first wizard screen) and enable "Next Element inline" option. Best, Bahar M Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.