Expression to show a message based on values in a sub-list - Check all sub-list items have checkbox checked

Discussion created by ArdeviaForum on Aug 19, 2016
Latest reply on Aug 19, 2016 by ArdeviaForum

Original Post by Sandy (Imported from Ardevia Forum)



Could you please advise how I can perform this validation.


I have a sub-list that has a column called receipt attached. As each line is added, the user can check this box or leave it unchecked. If they leave it unchecked, I would like to do either of the following:


1     As they add the sub-list line, require that they include an attachment against the sub-list  if the receipt attachment is unchecked OR
2     Display a message that advises an attachment is required if not all of the sub-lists have the receipt attached checkbox checked.