Java question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kennykenn
    New Member
    • Oct 2007
    • 8

    #1

    Java question

    Does anybody know the java function to validate a text field so when the user tabs out of the text field he/she is prompted for the correct text (if incorrect) before continuing? other langs is Onexit but need to know javas equivalent!!

    cheers
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by kennykenn
    Does anybody know the java function to validate a text field so when the user tabs out of the text field he/she is prompted for the correct text (if incorrect) before continuing? other langs is Onexit but need to know javas equivalent!!

    cheers
    Hi, you should've asked your question in the Java Forum section (see the blue
    menu bar near the top of this page).

    kind regards,

    Jos

    Comment

    • debasisdas
      Recognized Expert Expert
      • Dec 2006
      • 8119

      #3
      Question moved to Jave forum.

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #4
        Originally posted by kennykenn
        Does anybody know the java function to validate a text field so when the user tabs out of the text field he/she is prompted for the correct text (if incorrect) before continuing? other langs is Onexit but need to know javas equivalent!!

        cheers
        There's no such thing as "the Java function to validate a textfield". You have to write a validation function that validates according to your requirements. I suspect then that you have written code for the textfield and all the other components and now only need to do the validation part?

        P.S Why am I getting the feeling that you are probably talking about Javascript.

        Comment

        Working...