Good Morning
I have the following query.
it is possible to put in ramdon the answer options of a question with multiple answer, check box ??
as well as with the unique answer questions
"RandomizeVS Function"
RandomizeVS Function for check box
-
josh
- Posts: 2403
- Joined: May 5th, 2014, 12:49 pm
- Location: Washington DC
Re: RandomizeVS Function for check box
The randomizevs function should work with a checkbox field.
-
juan pablo
- Posts: 30
- Joined: July 27th, 2017, 4:02 pm
Re: RandomizeVS Function for check box
Hello Josh
a big favor, could you share the logic of an example of The randomizevs for checkbox
a big favor, could you share the logic of an example of The randomizevs for checkbox
-
josh
- Posts: 2403
- Joined: May 5th, 2014, 12:49 pm
- Location: Washington DC
Re: RandomizeVS Function for check box
Here is the SimpleCAPI example with the LANGUAGES_SPOKEN checkbox randomized.
Here is the relevant logic:
Here is the relevant logic:
PROC LANGUAGES_SPOKEN
onfocus
randomizevs(LANGUAGES_SPOKEN);
onfocus
randomizevs(LANGUAGES_SPOKEN);
You do not have the required permissions to view the files attached to this post.
-
juan pablo
- Posts: 30
- Joined: July 27th, 2017, 4:02 pm
Re: RandomizeVS Function for check box
Thank you very much for the help
helped me a lot the logic he shared
helped me a lot the logic he shared
-
pngugi
- Posts: 4
- Joined: July 26th, 2018, 3:26 pm
Re: RandomizeVS Function for check box
I Josh, I have noted that when you start data entry, RandomizeVS produces same results (similar patterns) for all the cases but when you add a case thereafter RandomizeVS seems to work (gives random value sets). How can one set the system to give different results at any one time (whether you are starting the system or you are already in the add case mode).josh wrote:Here is the SimpleCAPI example with the LANGUAGES_SPOKEN checkbox randomized.
Here is the relevant logic:
PROC LANGUAGES_SPOKEN
onfocus
randomizevs(LANGUAGES_SPOKEN);
Kind regards,
Paul
-
josh
- Posts: 2403
- Joined: May 5th, 2014, 12:49 pm
- Location: Washington DC
Re: RandomizeVS Function for check box
Try seeding the random number generator with a call to seed before the first call to randomizevs: http://www.csprousers.org/help/CSPro/seed_function.html
-
pngugi
- Posts: 4
- Joined: July 26th, 2018, 3:26 pm
Re: RandomizeVS Function for check box
Thanks so much Joshjosh wrote:Try seeding the random number generator with a call to seed before the first call to randomizevs: http://www.csprousers.org/help/CSPro/seed_function.html