Client Area
All-in-one service management,
billing & support, conveniently & securely
in one single feature rich place.

Portal Home > Knowledgebase > Windows Hosting > Windows (Helm USA) > ColdFusion > Coldfusion forms don't work on sub domains


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.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read