Sean is right.

You can copy the CFFORM.JS file to an accessible part of your site and then
use the "scriptsrc" attribute in your CFFORM to make the validations work
again, eg:

<cfform name="MyForm" scriptsrc="scripts/cfform.js">

Note that with CFMX the "post" method is not required as it is used by
default.

Regards,

Peter Tilbrook
Manager, ACT and Region ColdFusion Users Group - http://www.actcfug.com
4/73 Tharwa Road
Queanbeyan, NSW, 2620
AUSTRALIA

Telephone: +61-2-6284-2727
Mobile: +61-0439-401-823
E-mail: [EMAIL PROTECTED]  

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sean Corfield
Sent: Monday, 19 July 2004 3:21 AM
To: CFAussie Mailing List
Subject: [cfaussie] Re: form validation problem

Have you done "View Source" on the generated page to see if there's an
obvious error?

Is the /CFIDE directly accessible via URL? That's where the JS file is for
CFMX. If that file is not accessible, you would see your validation fail.

On Mon, 19 Jul 2004 03:02:42 +1000, Eugene Gorman <[EMAIL PROTECTED]>
wrote:
> I have recently moved our site from a server with cf 4.5 to a new one 
> with cf mx. The site is loading much quicker but I am getting a weird
error.
> None of the built in cfform validations are working and if I can a 
> javascript from a cfform it won't work.
> 
> Has anyone heard of this before?
> 
> ie
> 
> <cfform action="#CGI.SCRIPT_NAME#" method="POST" name="order"
> onSubmit="return ExtraChecks();">
> 
> <cfinput type="Text" name="xx" message="You must specify a value for xx."
> required="yes" size="20"">
> 
> </cform>
> 
> The extraChecks won't get called and the it will not request the user 
> to enter a value for xx if the don't enter one.

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To
unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/





---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to