Malcolm,

Take a look at qForms:
http://www.pengoworks.com/

It'll replace the need to use CFFORM and is much more powerful and flexible.

-Dan

> -----Original Message-----
> From: Malcolm Taylor [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 24, 2001 8:42 AM
> To: CF-Talk
> Subject: CFINPUT onvalidate problem
>
>
> I've written a JavaScript validation routine which seems to work
> correctly, returning true or false as appropriate.  However, when I call
> it with onvalidate from within a CFINPUT statement, I always get a
> 'function expected' JavaScript error after it returns.  Am I doing
> something wrong?
>
> Here's my code:
> <cfinput type="text" name="memberPrice_#mycounter#" size="15"
> onvalidate="validatePrice(document.forms[0].memberPrice_1.value,'a','b',
> 'c')">
>
> Any advice greatly appreciated.
>
>       Malcolm
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to