R
R
R4tm4n2018-12-30 23:43:12
MODX
R4tm4n, 2018-12-30 23:43:12

How to solve login problem in modal on MODX revo?

It is necessary to log in and register the user in the modal window, and the problem is that if the data is entered incorrectly, the window closes, how to make the window not close if the input is incorrect, and the user immediately sees errors, please give as casual a solution as possible, if possibly.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
maniiii, 2019-01-03
@maniiii

Try the ajaxform+login bundle or the ajaxlogin component

I
Igor, 2019-01-05
@ig0r74

Or something like this (add a class or display: block or the necessary class to the modal block if there are errors):

{if $_modx->getPlaceholder('reg.error.email')?} style="display: block;{/if}"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question