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
18 replies
Subscribers
8 subscribers
Views
13347 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
If true value with multiple fields
geetp1
over 7 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
aloks0189
Certified Lead Developer
over 7 years ago
@geetp is there any possibility of having null values for ri!input at initial or in any case, if yes, then first try to handle the null before doing comparison as attached below
isEmpty Expression Rule
=======================================
if(
or(
isnull(
ri!input
),
len(ri!input)<1,
length(ri!input)<1
),
true(),
false()
)
=======================================
here ri!input is of Any Type
Interface
=================================
if(
rule!isEmpty(ri!input),
{},
today > ri!input
)
==============================
also try printing this above statement along with any label of the Form and then Test, hope this work
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
aloks0189
Certified Lead Developer
over 7 years ago
@geetp is there any possibility of having null values for ri!input at initial or in any case, if yes, then first try to handle the null before doing comparison as attached below
isEmpty Expression Rule
=======================================
if(
or(
isnull(
ri!input
),
len(ri!input)<1,
length(ri!input)<1
),
true(),
false()
)
=======================================
here ri!input is of Any Type
Interface
=================================
if(
rule!isEmpty(ri!input),
{},
today > ri!input
)
==============================
also try printing this above statement along with any label of the Form and then Test, hope this work
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data