Code Fix: The Auto-Complete control does not use strict validation
KB002109
PRODUCT
Issue Description
The Auto-Complete control does not use strict validation and allows you to insert a value that does not exist from the list of available values. Functionality has been added to configure the behavior of the control to either use strict validation or allow a user to enter a non-existing value. This can be done by adding a key to the K2 smartforms Designer and Runtime web.config files, see the considerations section for steps on how to add or use the key.
Resolution
- Ensure you have K2 Five installed.
- Get the K2 Five FP1 from Regional Support.
- Install the K2 Five FP1 to apply the fix.
- Clear the browser cache.
Considerations
To use strict validation with the Auto-Complete control, follow the steps below after installing K2 Five FP1:
- Browse to the following location in the SmartForms design time and runtime sites:
- oINSTALLDIR]K2 smartforms Designer
- >INSTALLDIR]K2 smartforms Runtime.
- Edit the web.config files.
- Add the following key under the App Settings section in each web config: