Fast way for email, phone input validation

2011-06-27 Thread mma
Hi there! I'm trying to implement input validation for email and phone fields. I'm struggling with gwt-validation framework. Is there any fast, simple way to do it? Thanks, Best regards -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group

Re: Fast way for email, phone input validation

2011-06-27 Thread mohamed salah
salam there mohammad salah validate your phone create method validate your email --- // this method is email for examplem...@mm.com public static boolean isEmail(final String value) { boolean valid = true; if

Re: Fast way for email, phone input validation

2011-06-27 Thread marco . m . alves
: Re: Fast way for email, phone input validation salam there mohammad salah validate your phone create method validate your email --- // this method is email for examplem...@mm.com public static boolean isEmail(final String value

Re: Fast way for email, phone input validation

2011-06-27 Thread mohamed salah
*To: *google-web-toolkit@googlegroups.com *ReplyTo: * google-web-toolkit@googlegroups.com *Subject: *Re: Fast way for email, phone input validation salam there mohammad salah validate your phone create method validate your email

Re: Fast way for email, phone input validation

2011-06-27 Thread David Goodenough
On Monday 27 Jun 2011, mohamed salah wrote: salam there mohammad salah validate your phone create method validate your email --- // this method is email for examplem...@mm.com public static boolean isEmail(final String

Re: Fast way for email, phone input validation

2011-06-27 Thread mohamed salah
-- salaam it ok this method *is only valid for US phone numbers. It takes no account of country codes or other international phone formats. but this format is US phone format ok Possible change your format Depending on the phone number isA for example (1) **public static final String

Re: Fast way for email, phone input validation

2011-06-27 Thread Marco Alves
Thanks for the note. On Mon, Jun 27, 2011 at 1:31 PM, David Goodenough david.goodeno...@btconnect.com wrote: On Monday 27 Jun 2011, mohamed salah wrote: salam there mohammad salah validate your phone create method validate your email

Re: Any recommended input validation lib?

2010-09-28 Thread nacho
Thnaks. On 27 sep, 21:11, Andrew Pietsch andrew.piet...@gmail.com wrote: Hi there, thanks for your compliments about pectin. Just as a matter of interest I've started talking with the author of Bindgen (http://bindgen.org/) about the possibilities of using it with pectin and things are

Re: Any recommended input validation lib?

2010-09-27 Thread Thomas Broyer
On Sep 27, 2:47 am, nacho vela.igna...@gmail.com wrote: Hi, searching on google i've found a few gwt validation libraries. I would like to know if you are using anyone in special or if you have tested some of them. FYI, GWT 2.1 should come with built-in support for javax.validation. I don't

Re: Any recommended input validation lib?

2010-09-27 Thread P.G.Taboada
Learn from gwt-pectin, this is a comment I found in the bikeshed source code. And, I must say, gwt-pectin is a really nice binding and validation framework. To be honest, it is the best I have seen until now. My wishlist? GWT uses a metamodel and API like gwt-pectin does provide, plus a nice

Re: Any recommended input validation lib?

2010-09-27 Thread Andrew Pietsch
Hi there, thanks for your compliments about pectin. Just as a matter of interest I've started talking with the author of Bindgen (http://bindgen.org/) about the possibilities of using it with pectin and things are looking promising. If we can get it working (and I think we can) you'll be able to

Any recommended input validation lib?

2010-09-26 Thread nacho
Hi, searching on google i've found a few gwt validation libraries. I would like to know if you are using anyone in special or if you have tested some of them. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: Input Validation

2009-09-25 Thread mohan
Dude , thanks a ton. its a gud idea to work on :) thanks again On Sep 23, 7:18 pm, monk3y darkside...@hotmail.com wrote: Expanding on what Geraldo already said you can have the following Button saveBtn = new Button(Save) saveBtn.addClickHandler( new ClickHandler() {   public void

Re: Input Validation

2009-09-23 Thread monk3y
Expanding on what Geraldo already said you can have the following Button saveBtn = new Button(Save) saveBtn.addClickHandler( new ClickHandler() { public void onClick(Event event) { if(checkData()){ form.submit(); }else{ //no submit

Input Validation

2009-09-22 Thread mohan
Hi, I am very new to GWT. I have a form with Name,phone and email. I need to validate the input. How can i do that? Kindly guide me. Thanks in advance. Cheers!!! Mohan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google