I want to styling validation message in webform for marketers. But I can't find where I can define CSS class or CSS for validation message.
There are few ways you can handle this as below -
Update form .cshtml file - You can go and update the
FormViewModel.cshtmlfile on Website\Views\Form\EditorTemplates\FormViewModel.cshtml location and find
<div class="has-error has-feedback"> @Html.BootstrapValidationSammary(false) </div>
Code and add your custom class to div and add your style to that class whatever you want to add. But in this case, you need to document if someone is going to upgrade this then need to be more careful about this file and override after an upgrade.
Add a custom class by jquery to this section of the form (Add a class on your form and then on the child element for that form add a custom class) and now style as you want on that custom class.
I think these are the ways you can easily manage your validation messages.