Results 1 to 5 of 5

Thread: checkbox with "I agree"
      
   

  1. #1
    jojopara is offline Second Lieutenant
    Join Date
    Jan 2009
    Posts
    104

    Default checkbox with "I agree"

    Hello,

    I have been trying to solve this, but I could not. It may be very simple.

    I want to have an "I agree" with a checkbox in order to continue to another page. How can this be done in BV?

    Thank you in advance.

  2. #2
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: checkbox with "I agree"

    Add the checkbox in your form, right click it, and insert, in the Inside Tag, the following code:

    onClick="this.form.submit.disabled=this.checked ? false : true"

    Now, make sure your submit button is named "submit" (all lowercase.
    Right click it and insert, in the Inside Tag of the button HTML,

    disabled


    You are done.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  3. #3
    jojopara is offline Second Lieutenant
    Join Date
    Jan 2009
    Posts
    104

    Default Re: checkbox with "I agree"

    Navaldesign, thank you for the reply.

    This does not seem to solve it - http://www.all-e-services.com/agree.php

    I don't understand anything, but writing 'disabled' is self-explanatory and tou can see from the link above that the button is disabled.

    Where have I gone wrong?

    Thank you!

  4. #4
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: checkbox with "I agree"

    Sorry, my mistake. The code to add in the checkbox html is:

    onClick="this.form.submit.disabled=this.checked ? false : true"


    Of course the button is disabled, this is way we added the "disabled" in the button HTML. Once you click on the check box, the Javascript will enable the button.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  5. #5
    oezeadi Guest

    Default Re: checkbox with "I agree"

    yea

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49