Next field should appear if there is value on the previous integer input field

Hello Friends,

Is there any constraint to make a field appear if there is value on the previous integer input field.

Thanks in advance,
Imran

Good mrning Imran

Yes, the relevant clause with a test on the previous field's value :

${field}=1

Dear @mathieubossaert,

I tried this and this didn't work. By using this relevant clause, the next field is only appearing when I am typing 1 on the previous integer field.

Thanks

Sorry Imran. I misunderstood your question. So you want to check if the integer field is not null ?
${field}!=null should work

1 Like

Dear @mathieubossaert,

Tried ${field}!=null and I believe logically it should work. However, unfortunately, it didn't work.

Thanks,
Imran

Hi Imran,

could you share you excel file ? Or try this one : integer_test.xlsx (5.6 KB)

Hi @mathieubossaert,

Please find the form:test - Copy.xlsx (11.1 KB)

Thanks

So it works as expected no ? On my phone, if I leave blank the integer question, "CCT_membership" text question is not shown.

Dear @mathieubossaert,

My apologies, I was trying on Enketo preview and I think it is not supported by Enketo. It is working fine on my phone. Thank you so much!

Imran

1 Like