• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Javascript Error onBlur
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Javascript Error onBlur


  • Subject: Javascript Error onBlur
  • From: "Robert Snyder" <email@hidden>
  • Date: Sun, 3 Apr 2005 16:53:53 -0400

Hi,

We have an application that allows people to save a return to their data
before it is actually processed (and validated on the server side). On
the birth data field we want to make sure that people enter their data in
the proper formate (mm/dd/yyyy). So we want to detect what they have
entered and push an alert for them to correct it before moving on to
other fields.

We found a nice java script that does format and accuracy validation
(detects number of days in a month, including leap years, and return
errors on errant numbers). Since we want to do this validation as soon as
the person tries to go to another field, we are using the onBlur action
in JavaScript.

However, when we try to bind the JavaScript action onBlur to a date field
and build and run we get the following error:

I continue to have this error message in the run protocol:
<DMS_T_Box_Date name: DMS_T_Box_Date subcomponents: null >
takeValueForKey()]: attempt to assign value to unknown key: 'onBlur'.
This WOComponent does not have an instance variable of the name onBlur
or _onBlur, nor a method of the name setOnBlur or _setOnBlur.

Chuck, I am sure you have something on this in Practical WebObjects, but
all four of our copies are at the office.

I am also sure there is something in the archives, but honestly, I spent
several hours looking there, on the Apple site, in StepWise, Omnigroup,
google . . .

Any help appreciated.

Robert Snyder
email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Javascript Error onBlur
      • From: Sacha Mallais <email@hidden>
  • Prev by Date: Re: PDF to scaled JPEG (thumbnail)
  • Next by Date: Re: WOA, Building a Login form
  • Previous by thread: Anyone using WO with Informix?
  • Next by thread: Re: Javascript Error onBlur
  • Index(es):
    • Date
    • Thread