Select to view content in your preferred language

display the field if the value is not empty

814
2
Jump to solution
02-09-2022 09:46 AM
GrégoireC
Regular Contributor

Hi,

I would like to display the field value if a value exist in this; on the same line...

typenamelabelhintrelevant
textC22_ZTI Zone Touristique Internationale${C22_ZTI}!=''

 

I recieve this error message: 

b'ODK Validate Errors:\n>> Something broke the parser. See above for a hint.\nDependency cycles amongst the xpath expressions in relevant/calculate\n\nResult: Invalid'

0 Kudos
1 Solution

Accepted Solutions
AndyMcClary
Regular Contributor

Your issue is that you are referencing the value of the field in its own relevant expression, creating a loop. You need to base the relevant expression off a different field's value.

View solution in original post

0 Kudos
2 Replies
AndyMcClary
Regular Contributor

Your issue is that you are referencing the value of the field in its own relevant expression, creating a loop. You need to base the relevant expression off a different field's value.

0 Kudos
GrégoireC
Regular Contributor

Thanks you for your response. I think we can't use the same name field on the same Excel sheet. 

0 Kudos