November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Im not sure if xforms appending an class to the label. But if it does, use css :after selector and by using the content: "*" you can achieve it. Have a look.
And by doing this you can also specify other css properties like color etc.
So
<label class="required">My Custom Label</label>
label.required:after { content: "*"; color: red; }
Will result in:
My Custom Label [color="red"]*[/color]
Link to demo (JSFiddle)
According to this post EPiServer have a class-field
Take a look http://stackoverflow.com/questions/33138265/clientside-validation-using-xforms-mvc-application
Hi,
How can you display an asterix against all required fields dynamically? Im using Episerver 7.
Thanks
Jon