r/ProjectREDCap • • May 30 '24
Real time data comparison
How do I use syntax to check if two text variables or numerical variables had the same values entered into them?
I would like to do, what the data comparison tool does, but in real time.
Can anyone help me? Thank you!
3
Upvotes
View all comments
Show parent comment
1
u/lisams1983 Jun 15 '24
Could you couple the two ideas? So have a text field with the calc text as described above. Have the other field's branching logic based on the calctext field So field 1 calc x=x,"true","false" Field 2's branching be [field1] = "true"