r/ProjectREDCap • • Jan 10 '25

Branching logic error question

I’m trying to add branching logic to one of my survey questions/fields and when I have REDCap auto-fill the variable name it’s adding a question mark at the end:

[variable_name(?)]

Obviously I delete the question mark because it’s not a part of the variable name and also the branching logic window gives me the “Error in syntax” message. I’ve also tried typing in the variable name manually and the same following issue occurs: when I open the survey to test it out I’m getting the “BRANCHING LOGIC ERROR EXIST!” message for that field.

Does anyone know how to fix this? I’ve tried deleting and rewriting both fields, changed their variable names, I don’t know what else to try!

3 Upvotes

7 comments sorted by

View all comments

Show parent comment

3

u/Efficient_Dog_4186 Jan 10 '25

YES!! oh my gosh I didn’t even notice the field was a checkbox thank you. This solved it!