Issue with creating Pages While click on the save button Details which not Entered are saving as an empty row

0
Hii people I am new to Mendix and working on the online quiz project. Here I created a page for admin to add proctor and a new edit page for adding name and email.    Here are my requirements: When I click the save button without entering the details of the proctor on the popup layout page, the page should close, and the details should not be saved as an empty row. And here I have not created the microflow logic. If it is possible to complete this task with microflow activity, please help me with this. If anyone has a solution or suggestion, rectify me.
asked
1 answers
1

Hi Ravi,

On the save button onClick -> Select call a microflow in the microflow write a logic 

 

Drag the decision-> check in the decision 

$currentObjcet/Name!=empty && $currentObject/Email!=empty 

If this condition is true commit the object & close the page 

 

If this condition is false close the page only & end event.

 

You can also add the validation 

$currentObject/Name!=empty if true then check next flow for email if false just show the validation feedback please enter the name like this validation you can also use this.

 

Hope you like the answer

answered