Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Validate AutoComplete value to List retrieved by LoadACtivity

SA-2780

Summary



- We have an auto complete control configured
- OnChange: Refresh Section
- Data Source Type: Activity
- Search Property applies to: Class
- Additional fields: 6 fields
- When the user selects an entry from the list, the other fields are populated to give him confirmation that what he selected is correct.
- After that, the user can enter whatever he likes into the AutoComplete field and is able to submit the flow.

We need a way to restrict the PropertyValue to a value contained in the AutoComplete list.

Error Messages



N/A


Steps to Reproduce



Configure auto complete control approach as described.

Root Cause



Auto complete control working as expected.

Resolution




AutoComplete control is designed to provide a set of choices as guidance but not validate against them i.e. the user may choose to enter their own value. Effectively, we can say it is a smarter text box.

There is no OOTB validation rule for AutoComplete control. So, you need to write separate validation rules or validation activities to restrict the user to entering only values retrieved by the AutoComplete control.

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

We'd prefer it if you saw us at our best.

Pega Community 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.

Close Deprecation Notice