How to Suppress Default Validation Popup When Using Microflow-Based Global Validation?

0
Hi, I have an application with 20 pages and 100+ mandatory fields. On the Submit button, I call a validation microflow that checks all mandatory fields. For each empty field, I use Validation Feedback to mark it and apply a red highlight using custom styling. This works correctly for fields on the current page, but fields on other pages cause Mendix to display the default system validation popup saying: “This field has an issue: Required field”. Expected behavior: Validate all mandatory fields across the application on Submit microflow  Suppress the default validation popup Let users click the page in the navigation menu and see the field-level errors (red border) only when they open that page Issue: Mendix automatically shows system validation messages for fields not on the visible page, even though I am handling validation in a microflow. Question: How can I disable the default validation popup and rely only on my microflow-driven validation logic, so that errors appear only when users navigate to the relevant page? Thanks!
asked
1 answers
0

Hi Lokeshwaran Mahendiran,

 

You can’t fully suppress Mendix’s built‑in required field validation if you’ve set “required” on the entity attributes . To rely only on your microflow logic, remove the “required” property from the domain model and widgets, and handle all checks in your custom validation microflow. That way Mendix won’t trigger the default popup, and you can show field‑level feedback only when the user opens the relevant page.

 

I hope this helps

answered