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
('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
(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
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
--
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
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?');
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
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
8 matches
Mail list logo