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
8 subscribers
Views
1298 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
The autocompleteFromQuery works well however it adds a semicolon at the end. Any
ravib
over 11 years ago
The autocompleteFromQuery works well however it adds a semicolon at the end. Anyway to configure to avoid the trailing semicolon without the rule / expression based way of doing away with the semicolon....
OriginalPostID-67798
OriginalPostID-67798
Discussion posts and replies are publicly visible
0
abiramej
over 11 years ago
Can you post the expression what you have used for autocomplete and can you also check if the query is returning an array by any chance?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 11 years ago
It puts a semicolon because you are passing "true" in the "allows multiple" input of the function and/or because your field has the "Allow multiple values" checkbox enabled in the forms designer.
The definition of the function is:
FormAPI.attachAutocompleteFromQuery = function(fieldId, datasource, query,
id_attr, display_attr, multiple)
as you can see the last parameter is a boolean to indicate whether your auto-complete field will accept multiple values in which case they will be semicolon separated.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ravib
over 11 years ago
Thanks again Eduardo! It works. Thanks Abiram u were right, it returns multiple values.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel