Hi family,
I have multiple choice question variable and i need your support for this logic;
example
Q1. Select the best 3 or up to 3 crops in the following crops types (Multiple Reponses is allow)
A. YAM
B. Rice
C. Bean
D. Cassava
E. Millet
How do I restrict to allow the enumerator to select a maximum of 3 options.?
Thank you.
Sham
Multiple response
Re: Multiple response
Declare Q1 as an alpha with a length of 3 and make it checkbox to accept multiple response
Re: Multiple response
A better way, in the postproc
I don't test if the reenter will work right now. Please test it.
Hope this help.
if length (strip ($)) >3 then
errmsg (239);
reenter $;
endif;
239 You can't select more than three crops. Please, reenter Q1.errmsg (239);
reenter $;
endif;
I don't test if the reenter will work right now. Please test it.
Hope this help.
G.VOLNY, a CSProuser from Haiti, since 2004