W
W
WarGot2015-02-27 01:44:00
symfony
WarGot, 2015-02-27 01:44:00

How to automatically switch tabs in Mopa Bundle on validation?

Good day to all. I made tabs as shown here on the example of
bootstrap.mohrenweiserpartner.de/mopa/bootstrap/tabs
The problem is that if you do not fill in the first tab, switch to the second, and then click submit, the validation works, but not correctly. A notification about an empty tab pops up at the top and the field on which tab caused the validation error is not visible at all.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
keltanas, 2015-02-27
@keltanas

In order for the notification to pop up where you need it, write your client-side validator in javascript.
Symfony2 or Mopa Bundle has nothing to do with it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question