Created by @barton in Q&As
@barton
@barton

Hello,

I could use advice. I was fiddling with Nittro's live form validation today and I would like to change the error container element, which is:

<span class=error></span>

by default.

We are using Bootstrap, so I would like to make it something like:

<small class="invalid-feedback"></small>

The furthest I got is the file DefaultFormRenderer.js. The name of the file implies that it could be replaced by my own implementation, but my Javascript experience is very limited and I cannot figure out how I would achieve such a thing.

EDIT: Fixed a typo.

@jirik.mik
@jirik.mik

Hello,

are these changes possible and how to do it?

I need <span class="error invalid-feedback"></span> and change class of form item itself too.

Thanks, J.

Sign in to post a reply