Skip to content

Commit aa1fb99

Browse files
authored
Update and rename readme.md to readme.md
Moved the readme and made the text more descriptive. Included a description of what the validation actually does.
1 parent e75699b commit aa1fb99

File tree

2 files changed

+10
-7
lines changed
  • Client-Side Components/Client Scripts/Allow positive and decimal values
  • Specialized Areas/Regular Expressions/Positive int with 2 decimals

2 files changed

+10
-7
lines changed

Client-Side Components/Client Scripts/Allow positive and decimal values/readme.md

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
## Numeric Field Validation Script
2+
3+
This script validates numeric input in a form. It is used to ensure that values entered in fields like amount or price are properly formatted.
4+
5+
### Validation Rules
6+
7+
- Only positive numbers are allowed
8+
- Decimals are allowed, up to two digits
9+
- Zero or negative values are not accepted
10+
- Invalid input will clear the field and show an error message

0 commit comments

Comments
 (0)