Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
stylenone

Introduction

Note
  1. You need to know how to edit XMLs to define skip logic.

  2. Skip logic can be configured only via XML import.

  3. Skip logic is retained even if the form is edited and saved via UI (enhanced in v6.2).

The syntax for skip logic in custom forms has been updated in version 11. To provide better clarity and to allow the use of additional object fields such as participant and visit, the new syntax is now similar to a JSON-based dictionary.

...

specimen.specimenClass == "Cell"

Examples:

Note

If the field is marked as ‘Required,’ meaning it is mandatory for data entry, adding the showWhen condition will override this 'Required’ setting.

Use Case 1: Show Form field based on the Specimen Class.

...

Expand
titleClick here to view details...

<showWhen><![CDATA[field_name == "value"]]></showWhen>

Show a field ‘Legal Guardian', if the participant is ‘Age Below 18' is selected as 'Yes’

image-20241113-134000.png

Data-Entry page when ‘Age Below 18' is selected as 'No’

image-20241113-135248.png

Data-Entry page when ‘Age Below 18' is selected as 'No’

image-20241113-135335.png

...