We are on Appian 7.7 , while adding instructions to SAIL components like a!dropd

We are on Appian 7.7 , while adding instructions to SAIL components like a!dropdownfield(), how can we have multiple lines separated by new line?
e.g. : a!dropdownField(....instructions: "a. Use option one to do abc b. Use option two to do xyz"

On UI the instructions a. and b. should appear in multiple lines one below the other.

I tried using the CHAR function to add new line, but did not seem to be working.

OriginalPostID-171560

OriginalPostID-171560

  Discussion posts and replies are publicly visible

Parents
  • Hi Manoj,
    Place a paragraph field below the dropdown field make sure the label is empty and the label position is similar to that of the dropdown field, then using the below code its doable. Here the instructions are passed as rule inputs. PFA screenshot for reference.
    a!paragraphField(
    label: "",
    labelPosition: "ADJACENT",
    value: ri!firstInstruction & CHAR(
    13
    ) & ri!secondInstruction,
    saveInto: {},
    readOnly: true(),
    refreshAfter: "UNFOCUS",
    validations: {}
    )

    Hope it helps!

Reply
  • Hi Manoj,
    Place a paragraph field below the dropdown field make sure the label is empty and the label position is similar to that of the dropdown field, then using the below code its doable. Here the instructions are passed as rule inputs. PFA screenshot for reference.
    a!paragraphField(
    label: "",
    labelPosition: "ADJACENT",
    value: ri!firstInstruction & CHAR(
    13
    ) & ri!secondInstruction,
    saveInto: {},
    readOnly: true(),
    refreshAfter: "UNFOCUS",
    validations: {}
    )

    Hope it helps!

Children
No Data