Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
I'm looking for ...
State
Not Answered
Replies
18 replies
Subscribers
8 subscribers
Views
13356 views
Users
0 members are here
Share
Related Discussions
Home
»
Discussions
»
User Interface
If true value with multiple fields
geetp1
over 8 years ago
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
0
geetp1
over 8 years ago
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
0
geetp1
over 8 years ago
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