Re: WO/Javascript
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>) |