...
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.
Below are the example of code to display fields when specimen belongs to Class “Cell“.
Old syntax:
$extendedObj.specimenClass = "Cell"
New syntax:
specimen.specimenClass == "Cell"
Examples:
Use Case 1: Show form field based on the Specimen Class.
Expand | ||
---|---|---|
| ||
Added the ShowWhen condition in form XML to show field based on Specimen Class. Show form field “Media“ only when specimen class == “Cell“: When Specimen Class is not “Cell” then form field “Media“ is not shown: |