FP2003 form submit

G

Guest

I have an internal web site with a form that sends result to a file and
e-mail. It works fine on first click [submit] botton. If continue to submit
form again, got error "Front Page Error. User: please report detals to this
site's webmaster. Webmaster: please see the server's application event log
for mroe details." Checked server's application event log and there was no
event log. Thanks a lot for any assistance.

Deane
 
A

Andrew Murray

All you need is an "onclick="button.enabled='false'; (or whatever the
syntax is - this will "grey-out" the button, so it can't be clicked again.)

Don't know the exact javascript, but it won't work if you have JS turned off
of course.

Maybe just put a note on the page with the form "Please click "Submit" once
only".

Chris Leeds said:
you may want to look for a JavaScript at places like
www.javascript.internet.com that will prevent multiple clicks on the
submit
button.

HTH

--
Chris Leeds,
Microsoft MVP-FrontPage

ContentSeed: great tool for web masters,
a fantastic convenience for site owners.
http://contentseed.com/
--
Deane said:
I have an internal web site with a form that sends result to a file and
e-mail. It works fine on first click [submit] botton. If continue to submit
form again, got error "Front Page Error. User: please report detals to this
site's webmaster. Webmaster: please see the server's application event
log
for mroe details." Checked server's application event log and there was
no
event log. Thanks a lot for any assistance.

Deane
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top