RE: Two functions in OnSubmit

2006-03-19 Thread Adrian Lynch
the close(X) button on the dialog box(might be null), so maybe: onsubmit=if ( confirm('Are you sure?') == true ) return checkform(this); would be better. Adrian -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: 03 March 2006 20:30 To: CF-Talk Subject: SOT: Two functions

Re: Two functions in OnSubmit

2006-03-19 Thread rhymes with 'loud'
('Are you sure?') == true ) return checkform(this); would be better. Adrian -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: 03 March 2006 20:30 To: CF-Talk Subject: SOT: Two functions in OnSubmit Is there any way to include two return functions in an OnSubmit? Here

Re: Two functions in OnSubmit

2006-03-19 Thread S . Isaac Dealey
(might be null), so maybe: onsubmit=if ( confirm('Are you sure?') == true ) return checkform(this); would be better. Adrian -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: 03 March 2006 20:30 To: CF-Talk Subject: SOT: Two functions in OnSubmit Is there any way

SOT: Two functions in OnSubmit

2006-03-03 Thread Orlini, Robert
Is there any way to include two return functions in an OnSubmit? Here is what I want to do: form action=getinventory4.cfm method=POST onSubmit=return confirm('Are you sure?'); return checkform(this); Of course it generates an error. But what will work here. Thx in advance Robert O. HWW --

RE: SOT: Two functions in OnSubmit

2006-03-03 Thread Dave Sueltenfuss
I'd suggest building 1 function that references both functions -Original Message- From:Orlini, Robert [EMAIL PROTECTED] To: CF-Talk ; Sent: Mar 3, 2006 03:32:09 PM Subject: SOT: Two functions in OnSubmit Is there any way to include two return functions in an OnSubmit

Re: SOT: Two functions in OnSubmit

2006-03-03 Thread Ben Doom
Inset your confirm() into your checkform() function? Write a wrapper for both? --Ben Orlini, Robert wrote: Is there any way to include two return functions in an OnSubmit? Here is what I want to do: form action=getinventory4.cfm method=POST onSubmit=return confirm('Are you sure?');

Re: SOT: Two functions in OnSubmit

2006-03-03 Thread Roberto Perez
At 03:30 PM 3/3/2006, Orlini, Robert wrote: Here is what I want to do: form action=getinventory4.cfm method=POST onSubmit=return confirm('Are you sure?'); return checkform(this); Of course it generates an error. But what will work here. Try this: form action=getinventory4.cfm method=POST

RE: SOT: Two functions in OnSubmit

2006-03-03 Thread Orlini, Robert
Thanks Roberto and all for your input. -Original Message- From: Roberto Perez [mailto:[EMAIL PROTECTED] Sent: Friday, March 03, 2006 3:47 PM To: CF-Talk Subject: Re: SOT: Two functions in OnSubmit At 03:30 PM 3/3/2006, Orlini, Robert wrote: Here is what I want to do: form action