A
A
Alexander Timofeev2016-02-23 17:32:11
MODX
Alexander Timofeev, 2016-02-23 17:32:11

Is it possible to somehow set up redirect in modx revo in FormIt so that it does not redirect to another page, but calls alert via jquery, for example?

In short, I want that after sending a review from the site, not a redirect occurs, but a regular browser message pops up.
Or can you just bind an alert to a click on the Send button, but so that the alert fires when the email is actually sent, and not the validation is triggered, for example?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ruslan, 2016-02-23
@aldtimofeev

FormIt also has a successMessage parameter , you can use it without redirecting.

S
Sanes, 2016-02-23
@Sanes

Can. Have a look at AjaxForm , maybe that will be enough for you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question