Jump to content

Agreement check box


Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...