Message on Bootstrap Modal form
I've created form A with an unique field and a redirect to page B. This page contains a view and a button to create a new entry using modal form A. When hitting the button, modal form A pops up and an entry will be created. However, when the entered value already exist, the redirection takes place and modal form A (with an error message) is not shown. Only when hitting the button to create a new entry, modal form A is displayed with an error message. What must be done to show this error message immediately?