Add validation to the fields in list view

0
Hi All, I want to add validation in a microflow for the fields in the list view. I am having a page to fill with list of passengers details like name, age, gender. If i click on proceed to pay need to check all the fields in the list and show validation.
asked
1 answers
0

Hi Jayasree,

To implement validation for the fields in the list view before proceeding to payment, you can add a "Proceed to Pay" button at the bottom of the page. In the microflow triggered by this button, retrieve all the passenger details from the list and iterate over them using a loop. Inside the loop, check if any field, such as name, age, gender, or state of residence, is empty or invalid. If any validation fails, use the "Validation Feedback" activity to display appropriate error messages on the respective fields and stop the process. If all fields are valid, proceed with the payment process. By using the context of the passenger details, the validation can be effectively applied within the list view, ensuring all required fields are filled before allowing the user to proceed. 

 

Hope it helps!

answered