View Full Version : markInvalid

2 May 2008, 6:49 AM

I couldn't find the markInvalid method for a TextField? Can you please add this? I am thinking about purchasing but need this functionality.

Also, whats the proper way to validate an entire form on the server and return validation errors? I guess on the form submit I would make an rpc call to the server, have the server validate and send me back the errors. I would rifle through the errors and set each field's error appropriately. But to do that I would need to be able to call textField.markInvalid("the error message");

2 May 2008, 10:23 AM
I have changed the markValid visibility to public. Change is in SVN. As a workaround, you could subclass TextField and change the visibility to public.

2 May 2008, 10:37 AM
Thanks for the quick fix!

We sent an email to licensing today with a couple of questions about the license that our lawyer had. As soon as we get some answers back, we are ready to purchase a team license.