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
1603 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
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
0
moritzw
over 12 years ago
Thanks, that's what I am trying to do already. It doesn't seem to get the value yet at that point.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ckindschi
over 11 years ago
Did you find any solution to this? I'm running into the same problem.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
moritzw
over 11 years ago
No. It's a ("feature" ;-) ) In the Advanced Form Utilities. It has to be fixed there. I just don't have the time to do that right now...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel