ailto:[EMAIL PROTECTED]]Sent: Wednesday, February 19, 2003
11:37 AMTo: '[EMAIL PROTECTED]'Subject: RE:
[KCFusion] ColdFusion and JSP pages
I
have a form where I am using cfform. I would like to also include my own
_javascript_ to use for validation, but it is not working. What am I
Hi Chris,
I think the problem is that cfform is an all or nothing deal. You
can use your own form validation, or you can use cfform/cfinput, but not
a combination of the two. The reason is that cfform generates a
_javascript_ function that uses the onsubmit event. So if you specify
an onsubmit
Title: Message
You
are correctI found out that you cannot use onsubmit, but instead you use
"onvalidate" in the cfinput tag. So it looks as such
script language="_javascript_"!--function subform(o)
blah
blah blah
//--/script
cfform action="" method="post"cfinput
type=text size="40"
PROTECTED]
Sent: Wednesday, February 19, 2003 12:35
PM
Subject: RE: [KCFusion] ColdFusion and
JSP pages
Hi Chris,I think the problem is that cfform is an all
or nothing deal. You can use your own form validation, or you can use
cfform/cfinput, but not a combination of the two
I
found this article very interesting on this topic and several related
issues.
http://www.macromedia.com/desdev/mx/coldfusion/articles/java.html
-Original Message-From: Chris Holdman
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, December 04, 2002
11:29 AMTo: '[EMAIL