Check box, how to determine selections

Discussions about CSEntry
rcovane
Posts: 26
Joined: August 18th, 2015, 6:45 am

Re: Check box, how to determine selections

Post by rcovane »

Dear Josh,

I'm trying to implement check-boxes in my forms. I used some of the code you posted here and it worked.

The problem is when I try to assign the result to other variables, it only assign when "other" is selected.

Here is the simple application I'm testing in
Multiple choice questions.zip
Simple application for checkbox
(6.18 KiB) Downloaded 476 times
Hope you can help on this.

Regards
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Check box, how to determine selections

Post by josh »

Your skip over the other happens before you fill in variables CROP_A, CROP_B... When you skip you exit the proc immediatey and the remaining logic in the proc is not executed. Move the assignments of CROP_A, CROP_B... to happen before the logic to handle other.
Post Reply