Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. RichardH123

    Form field validation - characters 1 and 4

    Thanks Jeff That's good thank you. I have gone for this instead. <script language="JavaScript" type="text/javascript"> <!-- function Format2(lstr){ // lstr is the variable passed to the function if (/^[A][ ][A-Z0-9][ ][A-Z0-9][ ][AB][ ]$/i.test(lstr.value)){ lstr.value =...
  2. RichardH123

    Form field validation - characters 1 and 4

    I am trying to validate a form field. The field can have a maximum of 4 characters. The first character is always the letter 'A', the fourth character can be either the letter 'A' or the letter 'B' but nothing else. I also need a mask on the field like this A _ _ _ I have this code, but I am...

Part and Inventory Search

Back
Top