E
E
eugene1592019-11-24 15:52:47
MODX
eugene159, 2019-11-24 15:52:47

Why does the FormIt error output work only through the html tag, but not through the modx tag?

The form is submitted using AjaxForm.
In case of incorrect filling, errors are displayed like this:
<span class="error_name"></span>
But they are not displayed like this:
<span class="my-error"></span>
Why? How to fix?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Tarasov, 2019-11-24
@an-tar

Examine the effect of the validationErrorMessage , validationErrorBulkTpl , and errTpl parameters for the Formit snippet so you can override error output.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question