I have one question, it seems simple but its not working and I cannot find
the bug or explanation in the forum.
I have one integer question for the age, and I want to put a constraint so
the answer must be between 15 and 115.
I have tried different formula I found on different tutorial or discussion
here:
. > 15 and < 115
(. >15 and .<115)
.=${age} > 15 and ${age} < 115
I have no error detected when I transfer in xml but still my tablet blocks
every number I try when I fill the questionnaire, less than 15, more than
115 or in between... Does anyone have an idea ?
You second option should work i.e
*.>15 and .<115.*You attach your form if you are still struggling with this.
Kind regards,
ยทยทยท
On Tuesday, 2 August 2016 07:15:30 UTC+2, Charlotte wrote:
>
> Hello ODK Community,
>
> I have one question, it seems simple but its not working and I cannot find
> the bug or explanation in the forum.
>
> I have one integer question for the age, and I want to put a constraint so
> the answer must be between 15 and 115.
>
> I have tried different formula I found on different tutorial or discussion
> here:
> . > 15 and < 115
> (. >15 and .<115)
> .=${age} > 15 and ${age} < 115
>
> I have no error detected when I transfer in xml but still my tablet blocks
> every number I try when I fill the questionnaire, less than 15, more than
> 115 or in between... Does anyone have an idea ?
>
> Thank you for your help!
>
> Cheers
> Charlotte
>