Adding a constraint on the sum of a repeat group

I am trying to add a constraint on a repeat group to have a maximum sum of 100% such that when maximum is reached i cannot add a prompt or i cannot move to the next question until i revise my percentages to sum up to 100%. I have already created the calculate field and added the constraint on the percentage prompt in the repeat group(see attached excel). This works well on the web form but does not work on the tablet. Your help will be appreciated.

repeat group total.xlsx (9.4 KB)

I already answered your similar question Repeat Groups Calculations can't you just use that form and remove repeat_count?