Closed
Solved
AutoComplete filter user input
Hello, I need filter user input when I using AutoComplete control with List source: Data Page.
How it do it?
Hello, I need filter user input when I using AutoComplete control with List source: Data Page.
How it do it?
Filter should happen automatically for you. Can you post screenshot for Auto complete configuration and also let us know the exact issue your are facing.
Accepted Solution
Unfortunately Auto-Complete is not supported to validate the inputs from the source list. It allows you to filter the values from the list but also allows you to type anything since it's a free form text input.
You will have to call activity to validate on change of value.
Let us know if you need any other information
Hope this helps.
Can you show example please?
Hi Igor,
If I understand your requirement properly, it sounds like maybe a pxDropdown is a better control choice for your use case. This way a user is automatically constrained to only choosing values which are from your data source.
Hi Rett, it's requirement our customer , I am of course using pxDropdown).
What is the size/number of list/options which populates Auto-complete. If they are less than 50, I think Rett Hean suggestion of using pxDropDown is better.
Else
You can validate that property in Post Validation rule by using IsInPageList function to check if value entered on field is in Data page results (D_Ref_CURRENCY) and set error message otherwise.
Question Solved
Question
Question
Discussion
Question
Question
Question
Question Solved
Question
Discussion
Pega Collaboration Center has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.