• 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
Re: WO/Javascript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WO/Javascript


  • Subject: Re: WO/Javascript
  • From: Kieran Kelleher <email@hidden>
  • Date: Thu, 6 Jan 2005 12:41:27 -0500

You need to implement validation. See Practical WebObjects book, chapter 5 and also see WO validation article here

http://www.stepwise.com/Articles/Technical/2001-06-13.01.html


________________________________________________________________
Dev Config = OS X 10.3.5 / Java 1.4.2_05 / WO 5.2.3 / XCode v1.5 / MySQL 4.0.20 / Connector-J 3.0.11
Deploy Config = OS X 10.3.7 Server / Java 1.4.2_05 / WO 5.2.3 / MySQL 4.0.20 / Connector-J 3.0.11
My Blog: http://webobjects.webhop.org/



On Jan 6, 2005, at 11:06 AM, Sébastien Gruhier wrote:

Hello

I am a little bit lost with WO and Javascript.
I have a page with a form and some textfields. Some of them are mandatory. When the user submti the form, it calls an action. In this action I check if mandatory fields are not empty. If they are, I would like to popup a small window, saying "you need to type your email" for example.
How do I do this? I saw some JSxxxx class but I don't understand how to use them.


Any sample code or hints to do that?
Seb

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


This email sent to 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
References: 
 >WO/Javascript (From: Sébastien Gruhier <email@hidden>)

  • Prev by Date: Help with StackOverflowError
  • Next by Date: creating a new object with a decendant class from EOGenericRecord
  • Previous by thread: Re: WO/Javascript
  • Next by thread: Re: WO/Javascript
  • Index(es):
    • Date
    • Thread