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
3 replies
Subscribers
7 subscribers
Views
1377 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
I have a textfield, whose value is being provided by a local variable called loc
aswinb
over 11 years ago
I have a textfield, whose value is being provided by a local variable called local!state. And local!state is sometimes null which leads to crashing. So to prevent that I put the following for the textfield:
if(COMMON_IsNullOrEmpty(local!state),{}, { a!textField(label:"State", value: local!state, saveInto:local!state)})
but the textField seems to not like null values even after providing an if check statement. Can anybody help?...
OriginalPostID-104189
OriginalPostID-104189
Discussion posts and replies are publicly visible
Parents
0
aswinb
over 11 years ago
I fixed it....It had to be inside the with function and also some minor twists here and there......FYI.....COMMON_IsNullOrEmpty is a custom function that was created by Appian developers....
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
aswinb
over 11 years ago
I fixed it....It had to be inside the with function and also some minor twists here and there......FYI.....COMMON_IsNullOrEmpty is a custom function that was created by Appian developers....
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data