if( ri!readOnly, if( isusernametaken(ri!record.${fieldName}), a!linkField( label: "${displayName}", labelPosition: "ADJACENT", links: #"${userRecordLinkRuleUuid}"(ri!record.${fieldName}, #"${formatNameRuleUuid}"(ri!record.${fieldName})) ), a!textField( label: "${displayName}", labelPosition: "ADJACENT", readOnly: true, value: ri!record.${fieldName} ) ), a!pickerFieldUsers( label: "${displayName}", labelPosition: "ABOVE", instructions: "${instructions}", helpTooltip: "${helpTooltip}", placeholder: "${placeholderText}", maxSelections: 1, required: ${requiredField}, value: ri!record.${fieldName}, saveInto: ri!record.${fieldName} ) )