List of users that starts with

In an initial form, I have a text input where the initiator will have to start typing and based on that i would retrieve the list of users in bonita that starts with the characters that the initiator types.

after typing the third character, we should get the list of users that starts with the input characters.

As far as I can see that bonita REST API USER only works with equals and not starts with.

is there a workaround for this?

Hello,
If you look at the REST API documentation for users you can see that if you use the s query parameter it will perform a search query witht a “start with” behaviour. Unlike the f query parameter that filters out values based on an exact match.

So I believe what you want to do is use a Typeahead/Autocomplete widget with a search query (using the s query parameter).

I hope this helps,
Captain Bonita

1 Like

Thank you. it works