Its perfectly valid... Your only supposed to run 1 website per
coldfusion server ;)



-----Original Message-----
From: Adam Reynolds [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 2, 2002 14:37
To: CF-Talk
Subject: CFFORM - BUG


Ok,
This is really stupid. If I use CFForm on a server where /CFIDE has been
moved to somewhere 'secure' the following code is inserted at the top of
a page containing cfform. I have a field called item.


<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"
SRC="/CFIDE/scripts/cfform.js"></SCRIPT>

<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--

function  _CF_checkpageitemedit(_CF_this)
{
        if  (!_CF_hasValue(_CF_this.TITLE, "TEXT" ))
        {
                if  (!_CF_onError(_CF_this, _CF_this.TITLE,
_CF_this.TITLE.value, "Title MUST be provided."))
                {
                        return false;
                }
        }

        return true;
}


You lot really need to sort this out.

This line only works where CFIDE is specifically under your root.
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"
SRC="/CFIDE/scripts/cfform.js"></SCRIPT>

Adam


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to