Date validation for a textbox

后端 未结 1 531
时光取名叫无心
时光取名叫无心 2021-02-10 00:50

I have been using this to take date as mm/dd/yyyy format...



        
1条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-10 01:27

    You might want to use a regular expression for the date :

    
    

    Also, as Daniel pointed out below you will need to use this in conjunction with your other validators to fully validate the date.

    0 讨论(0)
提交回复
热议问题