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

Latency issue while checking checkbox

SA-36535

Summary



User have a requirenment in which they have two checkboxes.

On click of the two checkboxes, drop-drowns gets enabled.

The scenario is not working, if user unchecks the two checkboxes quickly then only two drop-downs are getting enabled and thrid drop-down remains disabled.


Error Messages



Not Applicable


Steps to Reproduce

  1. Include two checkboxes “One” and “Two”.
  2. On click of “One” checkbox, the second checkbox “Two” should not be clickable until some delay. It should be delayed.

Root Cause



User Experience issue.

Resolution



Perform the following local-change steps:

1. Place a hidden text inside the layout and associate it with a property say .pyName with default value set to “3”.






2. Configure Disable condition on checkbox “Two”: .pyName == “2” selecting “Run disabled condition on client”.




3. Configure Actions on “One” checkbox:

a. Set Value : pyName to “2”





b. Run Activity to simulate delay





c. Activity “SimuDelay”:






d. SetValue: pyName to “3”




Published May 4, 2017 - 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?

Want to help us improve this content?

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