checkbox with "I agree"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • jojopara
    Second Lieutenant

    • Jan 2009
    • 104

    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.
  • navaldesign
    General & Forum Moderator

    • Oct 2005
    • 12080

    #2
    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!

    Comment

    • jojopara
      Second Lieutenant

      • Jan 2009
      • 104

      #3
      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!

      Comment

      • navaldesign
        General & Forum Moderator

        • Oct 2005
        • 12080

        #4
        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!

        Comment


        • #5
          Re: checkbox with "I agree"

          yea

          Comment

          Working...
          X