Results 1 to 5 of 5
  1. #1
    DK Bello is offline Member
    Join Date
    Dec 2011
    Location
    UAE
    Posts
    29
    Rep Power
    0

    Default Client Validation

    Hi, I'm trying to use client validation in an applet but is not working, please some should help me.
    Client Validation-client-validation.jpg
    I'm trying to make it in such a way that is I enter a proper character in the name text field, then it allows the user to proceed to the next text field, but if I enter a character in the phone Number text field, then it shouldn't allow the user to proceed and so on.

  2. #2
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,565
    Rep Power
    12

    Default Re: Client Validation

    What if they type digits into the phone field then, half way through entering the address they sneak back and put a nondigit into the phone field? It all gets quite complex quite fast.

    Consider using a JFormattedTextField.

  3. #3
    DK Bello is offline Member
    Join Date
    Dec 2011
    Location
    UAE
    Posts
    29
    Rep Power
    0

    Default Re: Client Validation

    Sure, Thanks. This is even way more cool than what I'm trying to do.

  4. #4
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,565
    Rep Power
    12

    Default Re: Client Validation

    You're welcome. It's slightly fiddly, but they have everything covered. If you get stuck post in the Swing section where the resident experts are.

  5. #5
    DK Bello is offline Member
    Join Date
    Dec 2011
    Location
    UAE
    Posts
    29
    Rep Power
    0

    Default Re: Client Validation

    I have lot of posts to stuck, so let me get started. Thanks again

Similar Threads

  1. client can choose to send message to another client,
    By banzuke in forum Threads and Synchronization
    Replies: 3
    Last Post: 08-25-2011, 02:37 PM
  2. Use Servlet for client to client communication?
    By ChexWithRaisins in forum Java Servlet
    Replies: 0
    Last Post: 08-03-2011, 05:29 AM
  3. Replies: 0
    Last Post: 06-27-2011, 04:39 PM
  4. Replies: 1
    Last Post: 10-05-2008, 03:12 PM
  5. Identify Client in Socket Client Server Application
    By masadjie in forum Networking
    Replies: 1
    Last Post: 12-20-2007, 09:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •