Thanks to all for the options. I will work on it.
Mark
On May 22, 2006, at 1:45 PM, David Shelley wrote:
Mark,
In the form tag, add an onSubmit handler, thus:
onSubmit="return(confirm('Is the date '+this.shipdate.value+' the
correct
date?'))"
That will bring up a javascript confirm box with "OK" and "Cancel".
If the
user clicks OK the form is submitted. If they click "Cancel" the
form is not
submitted and stays on the same page.
Dave Shelley
-----Original Message-----
From: Mark Weiss [mailto:[EMAIL PROTECTED]
Sent: Monday, May 22, 2006 4:25 PM
To: [email protected]
Subject: Witango-Talk: Confirmation of a Submit
Hi guys,
I have run into a problem, mostly a training problem and need to find
a solution.
ON one form, we need a date changed, in some circumstances. When they
don't change it, we have an accounting problem
I wish I could for now, using Java script or something like that,
bring up a dialog that says "Is this date 05/16/2006, the correct
ship date?
If yes, they click yes and the submit continues. If NO, then the alert
() goes away and it stays on the page.
I can get the date, but I don't know how to do the rest of it.
Can anyone give me a hand?
Thanks
Mark Weiss
______________________________________________________________________
__
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
______________________________________________________________________
__
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf