dmxValidator-error <span>

Hello guys!

I have a form with “novalidate” option and none of the fields has validation, but when I submit the form,
dmxValidator-error “span” are generated for each field and changes my form layout.

How to avoid the creation these span when none of the fields has validation?

Check your action in server connect. You likely have some fields with validation server side. I get that a lot if I add validation in app connect and then remove it. It remains in the server action. Especially ‘required’ validations.

1 Like

Thanks Brad, but there is not server side validation!

The validation has to come from somewhere. Either App Connect or Server action. You may not have set it there in the server action yourself.

Thanks for the hint, Brad! There was DMXValidator (js and CSS) in the main layout! Just removed from there and its working! thanks!

1 Like