Validation feedback prevents nanoflow call?

0
I add Text Box widget and Button widget to a page: -With Text Box, I use Validation in General tab of Text Box.I set Type is Email. -With Button,  I call nanoflow to pass the data of Text Box to nanoflow. I enter that textbox and It shows a validation message. Then I press Button to pass the data of Text Box to nanoflow, but it’s not working. How can I call nanoflow with that Button ?
asked
2 answers
1

That is exactly how a Mendix-form responds to when (one of) the validation-rule is not yet returning true. You will need to first fill the textbox with a string-value that is an email, and only then you go to a next step like calling a nanoflow.

answered
1

Validation in pages can be valuable, though my personal preference is to only use client side validations when direct user interaction  is needed. When handling data, which will be send to the database, always validate at domain model level or in you commit logic. 

Thus, skipping the validation on you email input box, remove the widget validation and if needed, execute the validation in your nano/microflow 

answered