Jump to content

Terms and Condition and Hide submit button


NaniG

Recommended Posts

Hi to all,

 

        I have a PHP page with Terms and Condition where the content is feteched from MySQL database table and am showing these content into a textarea box. Below that i have a check box and a submit button. by default the submit button is in disable mode. When end user checks the check box then the submit button is in activate mode and the end user can able to click on the submit button. These is fine with me.

 

Now my query is "Is it possible to the end user should be prompted to read the terms and condition completely and then to checks checkbox after that the submit button should be in active mode?"

 

Please Help me out from these issue.

 

Thanks and Regards,

 

 

 

Link to comment
Share on other sites

Yes, there's a nice jsfiddle here that demonstrates how to do this with jquery.  The differences in approach would be: 

 

-You would use a size constrained Div instead of a text area.

-"Reading completely" is considered to have happened when the user scrolls the scrollbar to the bottom of the T&C. 

 

Using this technique you can combine your activation of the checkbox with the scrolling to the bottom of the T&C.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.