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
9 subscribers
Views
1585 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
#Portal forms We have an old portal application, there is one multiple sele
manojj
over 10 years ago
#Portal forms
We have an old portal application, there is one multiple select drop down field, the form has javascript on load and on change, on different fields. It is all working fine in normal process flow. But we come back on the same form for editing the request the default value of the drop down is not being set, it all resets to none even though the process variable and ac has the previously selected values , I found that it is not working with mutliple dropdown but working with all other fields.
Is it a known issue?
OriginalPostID-145080
OriginalPostID-145080
Discussion posts and replies are publicly visible
Parents
0
jaredw
over 10 years ago
Hi manojj, How are you hiding/showing the field with the JS? What expression do you have for the default value?
We created some JS functions that will clear the value anytime we hide a field but if you just hide it the default value should still be populated. Another thing you might want to check is possibly putting a settimeout on the load calls for a second or two to make sure all the data has loaded on the form before you call the JS.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
jaredw
over 10 years ago
Hi manojj, How are you hiding/showing the field with the JS? What expression do you have for the default value?
We created some JS functions that will clear the value anytime we hide a field but if you just hide it the default value should still be populated. Another thing you might want to check is possibly putting a settimeout on the load calls for a second or two to make sure all the data has loaded on the form before you call the JS.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data