Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

numeric only validation

  • nikunj
  • nikunj
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
13 years 8 months ago #152953 by nikunj
numeric only validation was created by nikunj
I am trying to create regular expression for number only field.

I have selected custom perl expression and then write below code

/^[0-9]*$/

but still it accepts characters.

any help will be appreciated.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum