On Feb 19, 2009, at 11:05 AM, Gustavo Pizano wrote:

Hello all.

Well, I need a TextArea, as I read, the WOText is the equivalent. now, I need to restrict the size to 100, I read then that I can do that in the key methods, checking the size and just setting in the variable the first 100.

I came up with some problems, it will allow me to keep writing all the time and I will realize I over wrote just when submitting, so I was thinking in doing a JS function which purpose will be to verify the user input and once reached the max will alert or something, or I was thinking if there is an AJAX component which allow me to do such a thing, in a fancy way. :P


I don't think there is an Ajax component, but a Google search will turn up several examples of using JavaScript to do client side validation.

Chuck

--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to