Versions Compared

Key

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

Using custom configuration, users can set fields to show or hide based on value selected in another field. 

Note

The rules added for skip logic is only reflected on add/edit pages. Overview page is superset of all fields described in data dictionary.


Example 1: Show custom field(Relation to Proband) if value selected in 'Proband'(RB10) field is 'No'

...

Screenshot when field is shown:

...

Example 2: Show 'Storage tube' custom field only during creation of aliquots.

Code Block
{
          "name": "specimen.extensionDetail.attrsMap.ST3",
          "caption": "Storage tube",
          "type": "text",
          "optional": "true",
          "showIf": {
              "op": "AND",
              "rules": [
                {
                  "field": "specimen.lineage",
                  "op": "==",
                  "value": "'Aliquot'"
                }
              ]
            }
        },