Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Dec 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Auto-Click Button

    I have a set form that my boss is having me change. On it is some text as a disclaimer that shows up and below it is a button that says "I Accept".

    He wants me to change it so that the button is still there, but after 10 seconds the button would be automatically clicked. This makes it so that the button will can be pressed by the user, and if they don't click it, then it would go through automatically anyway.

    Is there someway to do this using HTML?

    Thanks

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,637
    Thanks
    6
    Thanked 1,004 Times in 977 Posts
    Quote Originally Posted by tbonegilbert View Post
    I have a set form that my boss is having me change. On it is some text as a disclaimer that shows up and below it is a button that says "I Accept".

    He wants me to change it so that the button is still there, but after 10 seconds the button would be automatically clicked. This makes it so that the button will can be pressed by the user, and if they don't click it, then it would go through automatically anyway.

    Is there someway to do this using HTML?

    Thanks
    No, this is only possible with JavaScript. However, I have to question the use of it anyway. Your boss expects that people fill out the form and read the disclaimer within ten seconds? What happens if somebody isn’t as quick with reading? What happens if the telephone rings (or whatever) while filling out the form or reading the disclaimer and people pick it up and chat for a few minutes? I wouldn’t want to have something automatically submit without my choice. That’s terrible practice in the internet.

  • #3
    New Coder
    Join Date
    Mar 2009
    Location
    Milton Keynes, England
    Posts
    54
    Thanks
    4
    Thanked 4 Times in 4 Posts
    VIPStephan pretty much summed it up and considering that you have said that the button displays the text "I Accept", if it then automatically clicks it after 10 seconds then the user isn't accepting at all.

    To me, that will only frustrate users and likely make them not want to use your site again.

    I can understand this being used in other areas (e.g. an advert before launching into a website), but not an agreement.


  •  

    Tags for this Thread

    Posting Permissions

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