Jump to content

how do i allow only numbers and "/"? and also...


shortysbest

Recommended Posts

I want to only allow birthdays to be entered like:

 

1/9/1992

or

11/19/1992

 

no other characters.

 

and i want to only allow the first part to be a number be between 1 and 12, and then the second only between 1 and 31.

 

could anyone help with any part of this? the first part is most important, but second part is nearly as important.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.