Can you compare two fields with the same name in the repeat?

483
2
01-14-2019 09:46 AM
ShelleySchulte1
New Contributor III

I am essentially trying to compare the same field in the same repeat.  The problem I am running into is that the field has the same name, thus I have no idea how to compare it in a calculation.  For example, I want to enter a number in AbsPerCoverShrub, then within my repeat I will make another entry and enter it again.  After that I'd like to compare the 2 numbers.  You can do this type of thing in excel because each cell has it's own name.  But can you do this in survey123 since the numbers are stored in tables with no name assigned to each table cell?

Above you will see the first entry is 95, then the next entry is 5 (done in a repeat). How then do I compare in the xlsform?  Like if 95 > 5 then true.  But the fields have the same name.

Tags (1)
0 Kudos
2 Replies
JamesTedrick
Esri Esteemed Contributor

Hi Shelley,

Comparing values across repeat entries is not yet supported in Survey123.

0 Kudos
ShelleySchulte1
New Contributor III

Thank you for the response, James!

0 Kudos