Showing Required validation in click function of every button

2
I have a registration form and i have implemented validation to it using inbuilt validation in mendix. I have 3 buttons(Save, View profile, Import data) in the same page. But validation is showing in other button click also. I want to show validation only in save click. Any fix for this?
asked
2 answers
3

Hi Reshma,

I think you mean you've used the validation on the page and that's why any button you press will show the validations.

If you create a custom save (action) button and create validations in that microflow, then validations will only happen when the save button is pressed. The first learning modules on learn.mendix.com have some information about this.

Let me know if you need any further explanation.

Brett

answered
1

Hi Reshma,

the suggested solution of the microflow validation has also the advantage to display your user which text field is not correct.

answered