Support Article
Autocomplete control not setting extra properties
SA-9439
Summary
You have an autocomplete control in a modified Case Manager Portal (OpenPortal thread). In addition to setting the property associated with the control, you try to set additional property values from the report definition used as the list source of the control. The control is only setting the property associated with the control and not the others.
Error Messages
Not Applicable
Steps to Reproduce
- Put an autocomplete control in the Case Manager portal.
- Use a report definition as the list source of the autocomplete
- In addition to setting the property associated with the control, set several additional properties as well
- Test to confirm the autocomplete controll is not setting additional properties.
Root Cause
By default there is no onchange event configured for the autocomplete control. At runtime only selecting a value from the drop down will set the properties. After submit it will set the properties.
Resolution
This issue is resolved through the following local change: You need to add an onchange event to refresh the parent section. This will result in the additional values being submitted and as a result properties will be set.
Note: Don't use the onchange post value event because post value only works with editable fields and also it will block the refresh section submit action. As a result only the associated property will get set and not the additional properties.
Published June 12, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.