Link to home
Start Free TrialLog in
Avatar of ChadMarsh
ChadMarshFlag for United States of America

asked on

Prevent multiple submits from the finish button in a wizard

Hello Experts,
I have a registration page that I set up using a wizard control. The only problem is sometimes the user clicks the finish button more then once
and I get duplicate records in my database.  I've found tons of posts on disabling a submit button but it seems like it's a little harder then throwing some javascript on a submit button.  I'm having a hard time accessing the finish button within the wizard to even disable it.
Any help would be appreciated.
Thanks
Chad
Avatar of Collindsouza
Collindsouza
Flag of United Kingdom of Great Britain and Northern Ireland image

have you tried using this one..

http://www.codeproject.com/aspnet/DisableSubmitButton.asp

I used this code many times. and works great for me..

Really easy to implement
Avatar of ChadMarsh

ASKER

Thanks for the post.  I have used that one. My problem is I can't get to the finish button to add the attribute
Chad
ASKER CERTIFIED SOLUTION
Avatar of Carl Tawn
Carl Tawn
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Much easier than what I was trying to do. Thank You!