fjiva
1
Hi @Kal_Lam,
I am trying design a questionnaire where previous dataset is used (pulldata function). See attached xlsform and the data file.
What I want is: On question A15b, I want it to appear only if A15x or A15y are not blank (!=’’) or if they do not contain “No sé / No recuerdo” or “No beneficiaria” as responses.
Secondly, On question A15c and A15d, I want them to appear only if A15b=‘2’ or if A15y are blank (=’’) or contain “No sé / No recuerdo” or “No beneficiaria” as responses.
I have tried all I could, cant just break it. Help
Please, the data is confidential
Kal_Lam
4
@fjiva, maybe this workaround should solve your issue:
In the survey tab of your XLSForm:
The CSV file:
![Image 2](//forum-kobotoolbox-org.s3.dualstack.us-east-1.amazonaws.com/original/2X/c/c7c2f8b32403c265273cbf67ca0940987c1576cf.png)
Data entry screen as seen in Enketo: when nothing is entered
Data entry screen as seen in Enketo: when a book code within a range is entered
Data entry screen as seen in Enketo: when a book code out of the range is entered
Reference XLSForm:
Pull Data (Skip).xls (28.5 KB)
Reference CSV file:
Codes.csv (137 Bytes)
Note:
If you simply don’t want to see the text question Name of the book
, you could add a skip logic as shown in the image below:
1 Like