Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-17-2009, 09:25 AM   PM User | #1
tbonegilbert
New to the CF scene

 
Join Date: Dec 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
tbonegilbert is an unknown quantity at this point
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
tbonegilbert is offline   Reply With Quote
Old 12-17-2009, 09:59 AM   PM User | #2
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,615
Thanks: 5
Thanked 865 Times in 842 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
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.
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Old 12-17-2009, 01:13 PM   PM User | #3
nick1988
New Coder

 
Join Date: Mar 2009
Location: Milton Keynes, England
Posts: 54
Thanks: 4
Thanked 4 Times in 4 Posts
nick1988 is an unknown quantity at this point
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.
nick1988 is offline   Reply With Quote
Reply

Bookmarks

Tags
button, disclaimer, html, redirect, timer

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:26 AM.


Advertisement
Log in to turn off these ads.