Curriculum 'User Guide Viedoc 4'

Using advanced visibility conditions Download PDF

1 How to set a field’s visibility based on more than one condition?

  • Example 1: In this case we want to make end date visible if outcome is equal to options 3 or 4.
  • Using the pipe character || as "or" gives the following code:

    AEOUT == 3 || AEOUT == 4
  • See screen shot to the right for details.

2 How to display a question for a male / female subject only?

  • Example 2: In our Eligibility form we only want to display the gender related questions to the relevant gender, in this case only males (1).
  • The gender question (DMSEX) is collected in the Demographics (DM) form. This form is located under the start menu in the workflow which has visit ID "START".

    Code: START.DM.DMSEX==1

    Please remember that when referring to a variable in another form and visit you need to specify the IDs of the visit and form in front of the variable ID, separated with a dot.

Was this information helpful?