If true value with multiple fields

Hi, I am trying to get 3 fields if the condition is true but it doesn't seem to be working with brackets.. Can somebody pls shed some light. E.g. if ( condition=true, (field1 field2 , field3), "false field)

OriginalPostID-272292

  Discussion posts and replies are publicly visible

Parents
  • Thanks.. This is what I have got.

    a!textField(
    label: "Overdue?",
    labelPosition: if(ri!readOnly, "ADJACENT", "ABOVE"),
    instructions: if(ri!readOnly, "", ""),
    helpTooltip: if(ri!readOnly, "", ""),
    placeholder: if(ri!readOnly, "", ""),
    value: if(
    today () >workday(ri!record.requestReceivedDate,5),
    "Overdue",
    "Not Overdue"),
    saveInto:ri!record.overdue,
    required: false,
    readOnly: true,
    validations: if(
    today () >workday(ri!record.requestReceivedDate,5),
    "Overdue",
    "Not Overdue"
    )
    )

    interface inputs- CDT record.requestreceiveddate & record.overdue. Haven't defined any local variable for overdue
Reply
  • Thanks.. This is what I have got.

    a!textField(
    label: "Overdue?",
    labelPosition: if(ri!readOnly, "ADJACENT", "ABOVE"),
    instructions: if(ri!readOnly, "", ""),
    helpTooltip: if(ri!readOnly, "", ""),
    placeholder: if(ri!readOnly, "", ""),
    value: if(
    today () >workday(ri!record.requestReceivedDate,5),
    "Overdue",
    "Not Overdue"),
    saveInto:ri!record.overdue,
    required: false,
    readOnly: true,
    validations: if(
    today () >workday(ri!record.requestReceivedDate,5),
    "Overdue",
    "Not Overdue"
    )
    )

    interface inputs- CDT record.requestreceiveddate & record.overdue. Haven't defined any local variable for overdue
Children
No Data