It is easy for users to accidentally submit a blank repeat. I am trying to create a note that warns users they've submitted a blank note. I have first created a hidden repeat count field, count(${sprinklers}) + 1. The count starts at 0, so I've added a plus 1. I've added this field to the label so users can see how many non-null notes they have total. Then I've taken the repeat field ${sprinklers} and made a relevant statement below that if the string length is zero and the sprinkler count is greater than 1, then show a note that says "You submitted a blank note". But I can't get it to behave because if they populate the first note then every new page after that will warn them there is a blank note before they even have the chance to add it in.
string-length(${sprinklers})=0 and ${sprinklernote_count}>1