Dear Cspro team,
I have a problem where I want to display all household members to a multiple choice roster.
Kindly help me.
I want to choose which member of the Household who consummed an item.
I am still using Cspro 7.2
Thank you
Copy HH members(Serial Number and Names) which is 1 selection(radio button) to a multiple choice roster(chekcbox)
-
- Posts: 43
- Joined: September 5th, 2016, 4:55 am
Copy HH members(Serial Number and Names) which is 1 selection(radio button) to a multiple choice roster(chekcbox)
- Attachments
-
- Ex.zip
- (30.07 KiB) Downloaded 168 times
Re: Copy HH members(Serial Number and Names) which is 1 selection(radio button) to a multiple choice roster(chekcbox)
You can use the valueset object and the setvalueset function to do this. Loop through the roster of household members and each member to the valueset object. Then call setvalueset to set the valueset for the question. You can see examples of page 38 of the workshop materials https://www.csprousers.org/resources/CS ... rkshop.pdf
-
- Posts: 43
- Joined: September 5th, 2016, 4:55 am
Re: Copy HH members(Serial Number and Names) which is 1 selection(radio button) to a multiple choice roster(chekcbox)
This manual is for 7.4. I was still using 7.2
Re: Copy HH members(Serial Number and Names) which is 1 selection(radio button) to a multiple choice roster(chekcbox)
The relevant section also applies to CSPro 7.2