Client script for decimal points

User_267
Tera Contributor

Hi everyone iam using this script, to check if somebody enters number or not, if it is not a number then it should show alert and if it is number then it needs to be in this format $12.00. but the code is not working even when a number is entered it is showing error.

6 REPLIES 6

Even if I am entering number still it is showing invalid number.

-O-
Kilo Patron
Kilo Patron

Don't tell me! ChatGPT?