1 Reply Latest reply on Mar 14, 2012 3:59 PM by dohanlon

    Do not allow user to enter non-number data.

    srinivas1506 Level 1

      Hello

       

      For some reason the have used the TEXT FIELD object for numeric data input field.

       

      Actually, user has to always enter numeric data ONLY.

       

      No decimals, no commas, no alphabetical characters allowed except numbers.

       

      (Syststem should not allow user enter non-allowed data at all....i mean to say, when we achive by using Numeric field/object.... or If user trying to enter any non-allowed data i hv to throw an error and CLEAR the field immediately)

       

      Pls. let me know How to get my requirement? Do i need to use JavaScript or Pattern or Validation Pattern in object pallette or ALL 3?

       

      I am newbie, pls. provide me the code (if JavaScript)

       

      Thank you