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 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...

ColdFusion temporary directory problems

The ColdFusion temp directory only has read permissions.  This directory should not be used...

What CFMX tags are disabled?

We disable CFRegistry and CFExecute.  Other tags may be disabled as necessary to...

Do you support Flash Remoting?

Yes, Flash Remoting is supported with ColdFusion.  We do not currently support plugins for...