Skip logic when previous question's answer is blank text, no mulitple choices

Hello

I would like help with building a form. In this form, the previous question is optional, however, if it is answered and not left blank, I would like to know the code to make the next question appear - only if it is answered and not left blank.

Screenshot of my attempt that did not work:

Thanks in advance!

You could do it as outlined below.

In the survey tab of your xlsform:

Image 1

In the choices tab of your xlsform:

Image 2

Data entry screen as seen in Enekto: when a condition is not met

Data entry screen as seen in Enekto: when a condition is met

Reference xlsform:

Skipping.xlsx (10.4 KB)

@Kal_Lam worked perfectly thanks! Even left it as text under the type column - since I wasn’t too keen on the appearance when type is integer (up/down triangles on the right side of answer box in Enketo form)

1 Like