You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 10
Next »
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.
$extendedObj.specimenClass = "Cell
specimen.specimenClass == "Cell"
Click here to view details...
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:
Click 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’
Data-Entry page when ‘Age Below 18' is selected as 'No’
Data-Entry page when ‘Age Below 18' is selected as 'No’
Click here to view details...
For participant custom field use = cpr.participant.extensionDetail.attrsMap.variableName
For Visit custom field use = visit.extensionDetail.attrsMap.variableName
For Specimen custom field use = specimen.extensionDetail.attrsMap.variableName
Added the ShowWhen condition in form XML to show field based on another custom field value.
Show custom field “Branch Form field1“ only when custom field “Show visit Form“ value = y.
When custom field “Show visit Form“ value = n then custom field “Branch Form field1“ is not shown: