mkohler28 Posted February 13, 2008 Share Posted February 13, 2008 I am trying to find the best way to add logic to a script that checks to see if all the fields in one repeating field are empty. I tried one big "If" statement and it seems to not check it correctly..my example: If [isEmpty(RepeatingField) and IsEmpty (RepeatingField [2]) and IsEmpty (RepeatingField [3]..etc)] Link to comment Share on other sites More sharing options...
David Head Posted February 13, 2008 Share Posted February 13, 2008 That logic should work. Although I would tend to use something like: IsEmpty ( repeatingField & repeatingField[2] & repeatingField[3] & repeatingField[4] & repeatingField[5] ) This should also work: IsEmpty ( List ( repeatingField ) ) Link to comment Share on other sites More sharing options...
mkohler28 Posted February 13, 2008 Author Share Posted February 13, 2008 Thanks, your version worked perfect. Link to comment Share on other sites More sharing options...
Recommended Posts