Try our conversational search powered by Generative AI!

Episerver Forms cutsom validation class(es)

Vote:
 

Hi,

I'm working on implementing episerver forms into an existing episerver site. I'm creating custom renderings of the controls so that the new forms will render the same html as our existing forms (or as close as posible). Is it possible to change the class that is returned when i call Model.GetValidationCssClasses() or validationService.GetValidationCssClasses(Model)? at the moment its always 'ValidationFail'.

i can work around it but i thought i'd see if anyone has come up against this issue and has a solution.

#171947
Nov 22, 2016 11:15
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.