FormLogicError Failed to execute 'evaluate' on 'XPathEvaluator'

Hi @Xiphware

I’ve noticed that this nested group does not allow any relevant conditions. Initially, I thought the problem was due to referencing question outside the group, which would require precise indexed-repeat syntax, as suggested, but it seems like it’s not allowing to add any relevant conditions. but just some calculations.

I also reviewed this post from @Josh and tried changing the operators in the conditions with no results.

Additionally, I came across previous issues regarding nested repeat-groups here:

So, is this an unresolved issue?

However, I will give the proper indexed-repeat syntax another try.

On the other hand, I’ve managed to avoid the error by making the following changes:

Previous xlsform (with errors when trying to edit some submitted forms)

Current form

Changes made:

  1. In yellow. Removed all relevant conditions. As previously mentioned, the error remains with any type of relevant (not just those referencing questions outside the group)
  2. In green: Modified the calculation formula to avoid referencing questions outside the group.
  3. In blue: avoided referencing ${_edad_especie} in line 73. Otherwise I keep getting the same error:

image

Trying to manage this one, I thought I could be related to the calculation formula, so I changed it to check if that was the problem

image

The conclusion is that the error persists when referencing ${_edad_especie} in line 73, regardless of the calculation formula.

Funny thing: lines 68 and 69 are doing the exact same thing, that is, performing a calculation and then printing the result in a label, but those lines are not causing any trouble so far.

This is getting pretty esoteric,

Indeed :ghost:

1 Like