try this

<input type="submit" onClick="return checkPw(this)">


-----Original Message-----
From: Dave Phipps [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 25, 2002 12:31
To: ColdFusion User group
Subject: [ cf-dev ] CFForm and javascript


Hi,

I have a registration form which uses the cfform tag and associated cfinput 
tags to specify required fields.  I also want to add and additional 
password comparison piece of javascript which requires the following:

<form onSubmit="return checkPw(this)">

Now if I simply put this into the cfform tag like so: <cfform 
onSubmit="return checkPw(this)">

Coldfusion removed the onSubmit function with its own.

How do I get around this?

Thanks

Dave


============================================
Phipps CF Development
Oxford, Oxfordshire.
Telephone: +44(0)7718 896696
http://www.phipps-cf.co.uk
============================================


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to