Fixing the Indexed-Repeat() Error Message - Calculation

This post discussed previously should help you use the index-repeat in your xlsform: