try regularexpression validation with a date time format have you ever tried that ??
Yeah..for just validating the format of a string I could use regex, but since Im trying to do this for learning purposes..I whould realy like to learn how to do a custom validation(remote validation)..another problem in this case is that I also whould like
to validate if the entered time is before or after or equals the current time..(Published <= DateTime.Now)..which as far as I know whould be hard to accomplish with regex..if not even impossible in this case..
Inx
Member
53 Points
217 Posts
Re: CustomValidation?
Nov 26, 2010 07:29 AM|LINK
Yeah..for just validating the format of a string I could use regex, but since Im trying to do this for learning purposes..I whould realy like to learn how to do a custom validation(remote validation)..another problem in this case is that I also whould like to validate if the entered time is before or after or equals the current time..(Published <= DateTime.Now)..which as far as I know whould be hard to accomplish with regex..if not even impossible in this case..
but thanks for trying to help