Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 82411

Validation messages not shown to user

$
0
0

I am applying some basic validation to an app.

I have applied it via the Domain Model, by double-clicking on the Entities within it.

I’ve added, for example, ‘Required’ and a meaningful error message.

I’ve added my validation via the Domain Model, as opposed to the form attributes, as the Mendix training guide states “Make sure that you only add usability logic to the frontend, and not security logic, because a UI is easily bypassed”.

I then run locally and view the app to test the validation.

If I try to enter details that fail validation, instead of an error message, the form simply disappears.

If I try to edit details for existing people it’s the same thing; the amend form disappears but the persons’ details (correctly) aren’t updated, there's just no way for a user to know why.

Am I missing some association that’s preventing me from getting an error message displayed on the form?


Viewing all articles
Browse latest Browse all 82411

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>