I know the answer!  I know the answer!  And if someone answers my question on
cf_fax I'll be even more grateful.
 
Angel -- nothing is wrong.  Because ColdFusion looks at your validations of 
required=yes and message="whatever" and turns it into Javascript validation on your 
server.  This is perfectly normal.  That is why when you View Source you see 
Javascript, when on your own server without ColdFusion, you just see straight html 
text.
 
that's it...don't worry...you can even copy the Javascript validation source from View 
Source for your own validation purposes.
 
Julia Computer Consulting
Web Design @ Reasonable Prices
PO Box 279, Watertown MA  02471-0279
Email:  [EMAIL PROTECTED]
http://www.juliagreen.com
Phone:  617-926-3413
Fax:  617-812-8148

Angel Stewart <[EMAIL PROTECTED]> wrote:
Okies..
I am totally stumped by this.

This is my code:
ENABLECAB="yes"> 
MESSAGE="You must enter a correct name"> 
 [input] 
 [input] 


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.

SRC="/CFIDE/scripts/cfform.js">



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;
}


//-->






onSubmit="return _CF_checkcontactform(this)"> 
 [input]  
 [input] 
 [input] 


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

Get the mailserver that powers this list at 
http://www.coolfusion.com

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

Reply via email to