N
N
Nikita Kit2016-09-28 14:40:56
JavaScript
Nikita Kit, 2016-09-28 14:40:56

How to disable annoying ajaxform snippet validation in MODX?

Made some cool feedback with several windows, a bunch of inputs and javascript. Cooked a lot. And everyone liked everything, except perhaps the handler for this form - ajaxform.
He did not like my form and he decided not to skip the data in any way before writing to the soap.

Validation of this fucking plugin returns a message saying "The form contains errors." Despite the fact that the parameter
&validationErrorMessage=`Something went wrong, check the entered data and try to send again` is passed to the snippet`
Where does it get "The form contains errors" I did not understand.
Removed validation. Erase this parameter altogether. It still speaks.

Here is a screenshot of the snippet
1b2774cb2d8842efbd40690dbf46beb4.png

And here is the address with the form
scservice.ru/karkasnoe-stroitelstvo
"House Cost Calculator" button.

Help guys. Please advise how to fix it. I have no idea how to do it. I already adjusted it to a standard chunk, and canceled caching - nothing helps.

Mb anyone else know a handler plugin that wouldn't shit like this one?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nikita Kit, 2016-09-28
@ShadowOfCasper

Guys, let's split up. Everything is destroyed.
I drove the snippet to email because I wrote input type='email' id='email name='email'
changed to type email id mail name mail and everything worked thank cthulhu

J
Just_Andrew, 2016-09-28
@Just_Andrew

There was a similar problem, it was solved by setting SMTP

D
display: block, 2016-09-28
@qork

Make snippet non-cached[[!AjaxForm? ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question