Table of Contents |
---|
...
Show/Hide custom field - Using Regex Matching
Show the 'Lived Name' custom field only when the PPID starts with 'J'.
Code Block | ||
---|---|---|
| ||
{ "name": "cpr.participant.extensionDetail.attrsMap.lived_name", "caption": "Lived Name", "type": "text", "optional": "true", "showIf": { "op": "AND", "rules": [ { "field": "cpr.ppid", "op": ".search('^J') !=", // Modify the regex in single quote as per requirement. "value": "-1" } ] } } |
...