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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by erayoral

  1. erayoral

    Ensure that the user enters a valid decimal number

    For example, we have a text field that must include only decimal numbers ( numbers containing "." ). If the user enters a number without a dot ( "." ), it is ok. But if he/she enters one with a dot ( e.g. 1212.??? ), we must prevent the user from entering a second dot. Here is the code...
  2. erayoral

    Ensure that the user enters only digits

    For example, we have a text field and want users to enter only digits. The function is triggered with "onKeyUp" action and starts to check the characters if they are digits or not.As soon as it finds a non-digit character, it removes the rest of the text and updates the text field's value...

Part and Inventory Search

Back
Top