Hi Eugene, we had similar issues when we migrated a few sites from 4.5
to MX in a shared server environment. The problem was as Sean was saying
that the file 'cfform.js' was not accessible to MX as it is outside of
the webroot (on the shared environment at least).

To work around this we had to change the cfform to reference the .js
file directly and place a copy of the cfform.js file somewhere it could
be accessed.

ie:

<CFFORM scriptSrc="cfform.js" name="formComments"
action="#CGI.SCRIPT_NAME#?option=Confirmed" METHOD="POST">

and place a copy of cfform.js file in the directory that was calling it.

Probably not the most elegant solution, but was the quickest way to get
our apps back up and running especially since our server host had no
idea what was wrong or how to fix it (not mentioning and names *cough*
WebCentral *cough*).

Oh, the cfform.js file I just copied from our local install of mx.

HTH
James



On Mon, 2004-07-19 at 03:02, Eugene Gorman wrote:
> Hello,
> 
> 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.
> 
> Best Regards,
> Eugene Gorman
> http://www.velvetsystems.com
> 07 3369 6003
> 
> 
> 
> ---
> 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