if you are using ColdFusion MX or 6.1 then you will need to make sure that
there is a webmapping to CFIDE/scripts on the website as the validation
library is linked to a js file in that folder.


HTH

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 21:19
To: CF-Newbie
Subject: IE form validation JS errors

I'm using cfform/cfinput with the required attribute set to "yes" and a
message attribute on the cfinputs, and the preservedata set to yes on the
cfform.

My clients on IE 5 / 5.5 / 6are getting JS errors only when 'Display a
notification about every script error' is enabled in their browser.
(Toggling 'Disable script debugging') has no effect.

When the 'Display a notification...' option is turned off, there's not even
a warning about a js error in the status bar.

The error is an object expected error pointing to the first if statement in
this function:

function  _CF_checkCFForm_1(_CF_this)
{
      if  (!_CF_hasValue(_CF_this.user_Login, "TEXT" ))
      {
            if  (!_CF_onError(_CF_this, _CF_this.user_Login,
_CF_this.user_Login.value, "Please enter a user name."))
            {
                  return false;
            }
      }

      if  (!_CF_hasValue(_CF_this.user_Password, "PASSWORD" ))
      {
            if  (!_CF_onError(_CF_this, _CF_this.user_Password,
_CF_this.user_Password.value, "Please enter a password."))
            {
                  return false;
            }
      }

      return true;
}

What gives? I have dummy clients who don't know how to change their
internet settings, and they're bailing on logging in because of it.

Paul Colombo
Multimedia Programmer
webLearning.com
w: 973.227.4455
c:  201.819.9027
f:  973.227.8412
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to