Field by field validation

Discussion in 'Java' started by sridharp_in, Oct 22, 2008.

  1. sridharp_in

    sridharp_in New Member

    Joined:
    Feb 14, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Hi,

    Plz help me, I have 3 text boxes which are compulsary fields and when i left a blank empty by pressing tab or click in other text box I should be displayed with an alert msg and an alert msg when any compulsary field is not filled with in the same form.


    Thanks,
    Sridhar.
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    Personally I prefer it when applications validate input when I press OK, because sometimes I want to enter data in a different order than immediate validation allows for, which makes such programs frustrating to use.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice