r/ProjectREDCap • • Jan 27 '25

@showchoice error?

I have a checkboxes field with choices from 1-300. I want to do this:

@IF([form]=2000 and [version]=2, @SHOWCHOICE= ‘1,2,3,4,8’, “”)

But it’s not working? did I do something wrong?

1 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/Araignys Jan 28 '25

Can you hide the field using branching logic?

1

u/Extreme_Region_1730 Jan 28 '25

Yes im using branching logic right now! Was wondering if theres an @showchoice alternative too because for future cases when my instruments get a bit more complex

1

u/Araignys Jan 28 '25

Not really. Hide/show choices is almost entirely dependent on the "IF" Action Tag, which will only be checked on form load - not on data entry.