Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejson
[
  {
    "name": "formDataEntryRules",
    "data": {
      "participant" : 
        [ 
  		   {
    		  "when" : "cpr.participant.gender == 'Female'",
     	       "forms" : [ "pregnancyTestForm" ]
   		   } 
          {
    		  "when" : "cpr.participant.gender != 'Female'",
     	       "forms" : [ "generalInformation" ]. // If you have multiple forms, please add the condition to show those
   		   }
        ]
      }
  }
]

...