Hi,
I tried and it is working ... well kind of. I am using FileStyle
JQuery plugin to style the file input:
http://www.appelsiini.net/projects/filestyleSo the generated code (note the error message that is working):
<label for="Path">Ficheiro</label>
<input class="file" style="display: inline; width: 320px;"/>
<div style="background: transparent url(../../Assets/Image/PT/
FileUpload_Button.jpg) no-repeat scroll right center; overflow:
hidden; width: 20px; height: 15px; -moz-background-clip: -moz-initial;
-moz-background-origin: -moz-initial; -moz-background-inline-policy: -
moz-initial; display: inline; position: absolute;">
<input id="Path" class="" type="file" value="" name="Path"
style="position: relative; height: 15px; width: 320px; display:
inline; cursor: pointer; opacity: 0; margin-left: -142px;"/>
<label class="Error" for="Path" generated="true">Select a
document</label>
</div>
The error message is in the HTML markup as you can see but it is not
visible.
Any idea of how to solve this?
Thanks,
Miguel