I have a form with regular verification. In some cases, it may be that the form validation is "OK, you can save", but the process of saving due to obstacles in DB fails.
Currently, in this case, it redirects to the user I would like to catch the error on an error page (it is ok) and like any other form, display the exception message in the form I < / P>
Is this possible? You need to add an identifier to the organization. Validator of "unique specificity" for unique obstacle:
Keep in mind that the principle annotation is used only for the database and the form is not used with the Vedics, so you have to add both.
No comments:
Post a Comment