I cannot seem to find a standard way within ASP Net Zero to automatically display Labels on required fields with a different style or asterisk.
Does this functionality exist?
If not, what approaches are being used by ASP Net Zero programmers to avoid manually styling each required input field?
3 Answer(s)
-
0
Hi @Mitch,
We have manually added a "*" character for required field labels.
-
0
Thanks for clarifying that it's not built in functionality. It might be a nice thing to have sometime in the future.
There's a lot of discussion about it here. I've used something similar on previous projects and it really makes life easier and reduces human error.
[https://stackoverflow.com/questions/5940506/how-can-i-modify-labelfor-to-display-an-asterisk-on-required-fields])
-
0
@Mitch,
Thanks for the link, this can be very helpful.