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
4 replies
Subscribers
7 subscribers
Views
1604 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
I am using FormAPI.attachAutocompleteFromExpression() function on my form. On th
moritzw
over 12 years ago
I am using FormAPI.attachAutocompleteFromExpression() function on my form. On the field the autocomplete gets applied to I am setting a default value. Unfortunately, the value gets overwritten by the function. What is the best way to restore the default value?
I tried using getValue and setValue from a hidden field where I stored the default value. However, apparentely the value is not set yet when the onload event of the form triggers....
OriginalPostID-39454
OriginalPostID-39454
Discussion posts and replies are publicly visible
Parents
0
abiramek
over 12 years ago
Hi, can you try calling the FormAPI.setValue on this field, after the attachAutoComplete function on form load?
Or is that what you are already doing?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
abiramek
over 12 years ago
Hi, can you try calling the FormAPI.setValue on this field, after the attachAutoComplete function on form load?
Or is that what you are already doing?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data