Capture name from another variable

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
Socio
Posts: 48
Joined: May 1st, 2017, 4:47 am

Capture name from another variable

Post by Socio »

Dear all

I would like to know how to capture a varible input from previous variable input.
eg.
Q1: Name of Respondent : XYZ
Q5: Name of Respondent: I want to bring the name XYZ automitically.

Thannk you
blumski
Posts: 37
Joined: May 7th, 2018, 7:02 am

Re: Capture name from another variable

Post by blumski »

In the logic of the first variable (Q1), write this :
Postproc
Q5=Q1;

When you reach Q5, the value entered in Q1 will appear.

You can also write the code in the logic of the variable receiving the value (Q5). In this case, you can write this :
Preproc
Q5=Q1;
noinput;

Noinput command can be added in the logic of Q5 to avoid modifying the value entered in Q1.
Important : make sure that the two varia
Post Reply