i want trying to validate 3 textboxes (day, month, and year).
either one of it if empty, then show a single error message even there is 2 empty i also show only a single error message. But how can i do that?
i had tried many methods but i still unable to solve the problem.
Thanks for in advanced.
Kinda having trouble figuring out what exacty you mean in the second sentence. But if you want to just have one error if one of those is null then try this. Obviously var (string) = (input) for day month and year first.
I am using ASP.NET to develop my web page,
And inside one page have 3 differently textboxes which representing the day, month, and year respectively.
Now i am going to validate 3 of them, no matter which textbox has incorrect data input.
Which mean i am trying to validate 3 textboxes by only showing 1 error message.
Thanks for in advance.
Viewing 3 posts - 1 through 3 (of 3 total)