Hello CSPro users,
I want to create conditional questions in the roster.
Referring to the CSPro Help(link below), I added a condition to display different question text for a variable in the first row of the roster. I added "curocc() = 1" and I wrote questions differently.
In addition, I added "count (HOUSEHOLD_ROSTER000 where RELATIONSHIP =1 ) > 1" to change the question after respondents answer RELATIONSHIP =1 in the roster.
Both conditions are not working. Am I missing something?
Create Conditional Questions: https://www.csprousers.org/help/CSPro/c ... tions.html
Create Conditional Questions
Create Conditional Questions
- Attachments
-
- Conditional Questions.png (2.33 KiB) Viewed 1514 times
Re: Create Conditional Questions
I've added a simple application using curocc() as an example. Run the application and pay attention to the CAPI text for the NAME field. It will display the current row number. Then drop into the designer and inspect the CAPI text for NAME. Select each condition and notice the CAPI text changes.
- Attachments
-
- conditional-text.zip
- (2.83 KiB) Downloaded 130 times
Re: Create Conditional Questions
Thank you. I ran the application you attached, but it wasn't working well. The question texts were always "Row 1".
I am using CSPro 7.7 version. Please see the attached screenshots.
I was wondering if conditional questions work well on your device.
Best regards.
I am using CSPro 7.7 version. Please see the attached screenshots.
I was wondering if conditional questions work well on your device.
Best regards.
- Attachments
-
- 1.png (53.97 KiB) Viewed 1496 times
-
- 2.png (55.76 KiB) Viewed 1496 times
-
- 3.png (57.68 KiB) Viewed 1496 times
Last edited by Nikola on June 3rd, 2022, 11:17 pm, edited 1 time in total.
Re: Create Conditional Questions
There was a bug in CSPro 7.7.0 that was fixed in 7.7.1. You can download it from here: https://www.csprousers.org/downloads/
Re: Create Conditional Questions
It is working in 7.7.1. Thank you!