Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

When event label and visit custom field PV values are the same then you can set the custom field default value wrt to visit.

Use case: When you collect the 'PMCT' visit the 'Art der Untersuchung' value should display default as 'PMCT'.

 Click here to expand...

Add below code in JSON dictionary

  {
      "name" : "visit.extensionDetail.attrsMap.RB11",
      "caption" : "Art der Untersuchung",
      "type" : "radio",
      "optional" : true,
      "options" : [ "Klinische Angaben", "Sektion", "PMCT", "PM Ultraschall" ],
      "defaultValue": "field: visit.eventLabel"
    }, 

Using the above code when you collect the visit the default value will be set.

  • No labels