C# Custom Validator - empty value
Posted on 2010-01-07
I want to validate empty textboxes (asp textboxes, not html) - the custom validator error message should appear if a textbox is empty but not by default/onload (someone clicks on it and then off it).
I've set the ValidateEmptyText property to true but this only works if I type a letter and then delete it and then move away from the textbox (Server side validation is working fine - Client-side is the problem).
If I dont type a letter and just click away, it won't show the error message- I want all errors to display if someone just 'hold tab' through the whole form, so a reminder is there if someone skips a textbox for later.
Any easy way to do this?