So this is the first time I have used forms and am currently playing about with it to get used to how it all works. I have created a theme based off the bootstrap one curently in there as we use bootstrap with a few of our own css classes as well.
In the bootstrap form where there is the error bit forthe element
Thats what I had already done but I though there could be a better way of doing it, as Umbraco Forms generates a spanalready around the errr text with a class of (field-validation-error) on it. So I thouht there might be a way to also add your own class as well
Styling user error's in Forms
So this is the first time I have used forms and am currently playing about with it to get used to how it all works. I have created a theme based off the bootstrap one curently in there as we use bootstrap with a few of our own css classes as well.
In the bootstrap form where there is the error bit forthe element
What I am wondering is, is there a way to add a class to the outputted validation error?
perhaps like you do with these?
Hi Marco,
Why not just add a div within your validation check with your custom class style.
Cheers,
Marc
Hi Marc
Thats what I had already done but I though there could be a better way of doing it, as Umbraco Forms generates a spanalready around the errr text with a class of (field-validation-error) on it. So I thouht there might be a way to also add your own class as well
is working on a reply...