remove the ENABLECAB="yes" ??
----- Original Message ----- 
From: "Angel Stewart" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, July 21, 2003 1:18 PM
Subject: CFForm madness. 0_0


> Okies..
> I am totally stumped by this.
>
> This is my code:
> <cfform ACTION="testval.cfm" METHOD="post" NAME="contactform"
> ENABLECAB="yes">
> <cfinput NAME="full" TYPE="text" SIZE="35" MAXLENGTH="55" REQUIRED="yes"
> MESSAGE="You must enter a correct name">
> <input TYPE="reset" VALUE="Reset" NAME="Reset" >
> <input TYPE="submit" VALUE="Submit" NAME="submit" >
> </cfform>
>
> Simple. I mean...just a CFFORM.
>
> But...it does not work. At all. It consistently throws a Javascript
> error saying object expected.
>
> This is the code when I View Source.
>
> <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"
> SRC="/CFIDE/scripts/cfform.js"></SCRIPT>
>
> <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
> <!--
>
> function  _CF_checkcontactform(_CF_this)
> {
> if  (!_CF_hasValue(_CF_this.full, "TEXT" ))
> {
> if  (!_CF_onError(_CF_this, _CF_this.full,
> _CF_this.full.value, "You must enter a correct name"))
> {
> return false;
> }
> }
>
> return true;
> }
>
>
> //-->
> </SCRIPT>
>
> </head>
>
> <body>
>
> <FORM NAME="contactform" ACTION="testval.cfm" METHOD="POST"
> onSubmit="return _CF_checkcontactform(this)">
> <INPUT TYPE="text" NAME="full" SIZE="35" MAXLENGTH="55">
> <input TYPE="reset" VALUE="Reset" NAME="Reset" >
> <input TYPE="submit" VALUE="Submit" NAME="submit" >
> </FORM>
>
> What the hell am I doing wrong?
> This is on CFMX with updater 3 installed.
> It...it just really doesn't make sense.
>
> This is all part of a much larger form of course..but I decided to just
> cut everything out..the tables..the stylesheets...all the other fields..
> And just try a basic cfform statement and see if it worked...and it
> didn't.
>
> What could be wrong??
>
> -Gel
>
>
>
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to