Help to validate a date user entry

I need help how to validate a date entry in text field.

Validate by what rule expectations? Can you give us your scenario?


Write more text when you have a problem:

  • Here is what I want to do.
  • Why I want to do this.
  • What did I try.
  • What didn’t work.

see DateTime.FromString + try catch
if you have the datetime object then you can limit something else, month or year.

only i need is check is the date is correct mm-dd-yyyy

Thanks for the help, i have this working

Alexis - In case you also need 10 digit phone number formatting –

Thanks Mike