Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
6 replies
Subscribers
7 subscribers
Views
2232 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
We are on Appian 7.7 , while adding instructions to SAIL components like a!dropd
manojj
over 9 years ago
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
0
sonalk
over 9 years ago
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!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sonalk
over 9 years ago
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!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data