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

OnChange event is not Working

SA-3889

Summary


We have a property with property Control 'Default'.We have called an activity,at OnChange event in event handler.But the activity does not gets called on Onchange of Property Value rather it gets called on Tab out of that field.
We need to show an alert or message at onChange of the field value.

Error Messages


NA

Steps to Reproduce



Create a TextInput field. Configure onChange activity.
Enter Rate.
An activity should be traced which we have called on Onchange event of that property,in event handler.


Root Cause



The root cause of this problem is a defect in customer application code/rules. 


The expectation is whenever User type something which is different from the existing content of the text input field, the onChange action should be fired, without tabbing out.

Resolution



This issue is resolved through the following local change: 

PRPC 6.X versions do not have the KeyBoard events to track the changes by OOTB. The action and its Pre-Processing(Activity) will be fired only upon tabbing out.

This is equal to On Blur event.

This has been taken up as an enhancement in 7.X and below features have been added.

Requested to customize the input control to have the onkeydown/onkeypress functionality.




 
Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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
Contact us