Skip to main content
Inspiring
June 7, 2010
Answered

CFFORM - form validation not working AT ALL when testing on production server

  • June 7, 2010
  • 1 reply
  • 2203 views

So I've done all my testing on my local Coldfusion testing server. All cfform input boxes are validated properly, with a dialogue box popping up when one hasn't been completed

When I upload to the production server, also running ColdFusion 8, there's no cfform validation happening at all - no dialogue boxes, etc...

I'm using the same client computer to test locally as I am to test on the web, yet I get two different results! Any ideas ?

This topic has been closed for replies.
Correct answer ilssac

THE VERY FIRST THING to check in this situation is that you can properly connect to the /cfide/scripts/ folder through the web site on the production server.  This scripts folder is where ColdFusion keeps all its javascript, CSS and other client files used in it <cform...> and other client user interface features.  If your browser can not access these files, these features will not work.

The fast tests is just to put /cfide/scripts/wddx.js into your browser on the production server and see if you get the right javascript file.  If not, you need to make sure there is a CFIDE virtural directory configured in your web site and that this directory is readable by internet users.

1 reply

ilssac
ilssacCorrect answer
Inspiring
June 7, 2010

THE VERY FIRST THING to check in this situation is that you can properly connect to the /cfide/scripts/ folder through the web site on the production server.  This scripts folder is where ColdFusion keeps all its javascript, CSS and other client files used in it <cform...> and other client user interface features.  If your browser can not access these files, these features will not work.

The fast tests is just to put /cfide/scripts/wddx.js into your browser on the production server and see if you get the right javascript file.  If not, you need to make sure there is a CFIDE virtural directory configured in your web site and that this directory is readable by internet users.

Inspiring
June 8, 2010

turns out our Internet Hosts had a configuration problem , like you described Ian. I sent them a copy of your response and they checked their settings and found the error in their Coldfusion config.

Many thanks. All sorted.