Coldfusion forms don't work on sub domains

If you create a sub domain and use form validation, it looks like it's being done correctly. Coldfusion generates some Java Script to handle the Coldfusion forms, but the code that is inserted is incorrect if you use it on a page in a sub domain (e.g. abc.domain.com).
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript" SRC="http://www.yourdomain.com/CFIDE/scripts/cfform.js"></SCRIPT>

Insert the following line of code in the page it's header and you're ready to go.

  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

CFHTTP tag may report a Connection Failure

You may run into problems with CFHTTP on our servers because our servers use HTTP...

How do I create a ColdFusion DSN?

ColdFusion DSN's can now be created through Helm.  To create a ColdFusion DSN log into...

How do I create a mapping in ColdFusion MX?

To use a custom mapping, in your application.cfm file, add some code like this: <cfset...

ColdFusion MX doesn't work on my site.

If ColdFusion does not work on your site, ensure that it is enabled in Helm.  To enable...

How to use Unicode in Coldfusion - mulitlanguage databases and pages

If you want to create/use multilanguage database records and display them on your pages, you'll...