Select to view content in your preferred language

display the field if the value is not empty

618
2
Jump to solution
02-09-2022 09:46 AM
GrégoireC
New Contributor III

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
New Contributor III

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
New Contributor III

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
New Contributor III

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

0 Kudos