I tried piping data from a field or added conditional logic in a longitudinal project but it isn’t working.

When Piping variables or using variables in Conditional Logic for Longitudinal Projects you are required to add of the event name before the variable name. Both the event name and variable name must be surrounded by square brackets: [event_name][variable_name].

In the example, specifying the event name, [event_2_arm_1] before the [test] variable name will allow you to pipe the value from the test field for the first event in arm 1 (note, even for projects with a single arm, event names will end with “ _arm_1”):

image-20240204-173217.png

You can find the event names by going to the Project Setup tab and selecting Define My Events. Event names are listed in the Unique event name (auto-generated) [event-name] column of the table:

image-20240204-173613.png

You can also use Smart Variables to reference specific events such as [first-event-name] and [previous-event-name]. Here is a documentation for Smart Variables (REDCap Login Required) from the REDCap Consortium and below is a comprehensive tutorial of Smart Variables.

https://vimeo.com/909790317?share=copy

 

Â