Help!!! CHECKBOX

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
rcovane
Posts: 26
Joined: August 18th, 2015, 6:45 am

Help!!! CHECKBOX

Post by rcovane »

I'm trying to make a checkbox option to admite three answers. The problem is I have a set of answers and the clerk is supposed not to read them but let the interviewee say it and the clerk regist the answers. The solution I found is to make checkboxes so the clerk don't have the problem of moving forward and backward. But I have three possible answers for that:
  • Big;
  • Small;
  • and No answer
the solution I thought was to use

Code: Select all

accept
:

Code: Select all

//setting the values for the questions
if pos("A", P32) <> 0 then
	if accept("This advantage is big or small?","Big","Small")=1 then P32_1 = 1
	else P32_1 = 2;
	endif
else P32_1 = 9;
endif;
The file with the is here
Dealing with checkbox with trhee answers.zip
(5.15 KiB) Downloaded 282 times
MrTaco
Posts: 128
Joined: November 18th, 2014, 1:55 am

Re: Help!!! CHECKBOX

Post by MrTaco »

Hi,

try this:

if poschar("1",P32) = 1 then
P32_1 = 2;
else
P32_1 = 9;
endif;
rcovane
Posts: 26
Joined: August 18th, 2015, 6:45 am

Re: Help!!! CHECKBOX

Post by rcovane »

tshetlho@hsrc wrote:Hi,

try this:

if poschar("1",P32) = 1 then
P32_1 = 2;
else
P32_1 = 9;
endif;
Thank you, it worked a bit as I expected. Is there a way that I can do it opens the pop-up window just when I select the option?

I'm combining with accept and it does what is supposed to do!
Saint
Posts: 63
Joined: November 22nd, 2013, 4:59 am

Re: Help!!! CHECKBOX

Post by Saint »

I have slightly edited your application in the attached and hope it does what you intend to do. The questions making up the overall should be defined as sub-items, not as items on their own. Best...
Attachments
Dealing with checkbox with trhee answers.zip
(5.48 KiB) Downloaded 302 times
Post Reply