I am trying to deploy a form and I am getting the error:
Unexpected KoBoCAT error 400: b’{“detail”:“There has been a problem trying to replace ${1_MAIZ_DIASRIEGO} with the XPath to the survey element named ‘1_MAIZ_DIASRIEGO’. There is no survey element with this name.”}’
I am first asking how many days did they have to irrigate a crop and then if they said more than 0 days, I am asking how many hours did they irrigate it per day.
Since I am a new user I cannot upload the form, but here are the lines where the element is used:
line 39:
type: integer
name: 1_MAIZ_DIASRIEGO
label: 1. MAIZ. ¿Cuántos días tuvo que regar este cultivo?
required: true
relevant: selected(${RIEGO_TEMPORAL}, ‘riego’) and selected(${CICLO_1}, ‘maíz’)
line 40:
type: decimal
name: 1_MAIZ_RIEGO
label: 1. MAIZ. ¿En promedio, durante cuántas horas regó cada día de riego?
required: true
relevant: ${1_MAIZ_DIASRIEGO} > 0
The element is not used before line 39 and I checked that it was written exactly like the name in line 39.
¿Does anyone know what can be causing the error?
Thank you