Already got the required fields validation working for
- Requestor Name
- Address
- Facility Name
What is the best approach to also validate that gallery must has an item added. Before the user could submit.
If(!Form2.Valid,SubmitForm(Form2),ForAll(Gallery1.AllItems,Patch('Pitney Bowes',Defaults('Pitney Bowes'),Form2.Updates,{Category:TextInput2.Text},{SubCategory:TextInput3.Text},{ProductName:TextInput4.Text},{Quantity:TextInput4_1.Text},{Price:Value(TextInput4_2.Text)}));Office365Outlook.SendEmail("ofuentes@convivasolutions.com","New Order","Pitney Bowes"; HtmlText1.HtmlText, { IsHtml: true });Navigate('Finish Screen'))
Hope l explain clearly
