Text Field update

0
I need validation that will show that a field is out of range.  More of a warning really. The built in one does not let me save if the validation rule fails. So I have added a error field in my entity which I update with a message. I update the message in a nanoflow when the field changes. Problem is that the change is not updated on the page. I have to commit the change and show the page again. It seems that the text field only is updated when the page originally is displayed. Is there a better way?
asked
2 answers
0

Can't you use a microflow or nanoflow that checks your out of range requirement and if its false show a validation feedback for the user? So basically put your validation in a microflow or nanoflow.

https://docs.mendix.com/refguide/validation-feedback#1-introduction

answered
0

You can simply you show an indicator using conditional visibility as long as your ‘out of range’ logic is not too complex.

regards, Fabian

answered