I'm doing a javascript workaround for placeholders, such that for broswers that do not recognise it, I display the placeholder using the input/textarea value. But this messes my client side validation on the ASP.net MVC app.
I saw this SO article which is not something I'd like to implement as: (1) I have a few fields that use placeholders, (2) for my placeholder, I use a ModelMetaDataprovider which either returns the DisplayAttribute or the DescriptionAttribute or the name of the field (split into words and properly case-converted).
Now, I also read this, which suggests using a custom validation attribute. However, I think this is an overkill since all I wanted is a different client-side validation.