Question

"Run disabled condition on client" is not working
Hi,
Pega 7.1.7
We have added Disable condition on button
SearchProd.ProdNum = '' && SearchProd.ProdCode = ''
"Run disabled condition on client" is not working. At run time when user has not entered any you for SearchProd.ProdNum i.e. is blank, "Find" button is not disabled.
Please guide in resolving the issue.
Thanks & Regards
U Rajasekhar
-
Like (0)
-

Could you please run the tracer and verify what value is being set during the run time for 'ProdNum' if it blank can you check in the rule (section) and verify

Hi Basavaraj,
I have checked, it is blank and section is checked in. It is consistent behaviour.
Thanks & Regards
U Rajasekhar

Instead writing the condition there, can you create a when rule with the condition and configure that when rule and verify?

Hi Basavaraj,
"Run disabled condition on client" is not available for WHEN rule condition.
Thanks & Regards
U Rajasekhar

Tracer will not help for client side expressions.

Hi Sathish,
We need your guidance.
Thanks & Regards
U Rajasekhar
From the expression I assume you have a top level page name searchprod and in that there are two properties namely prodnum and prodcode. Now do you have these properties in the form ? If they don't exist then client side expressions will not fire. Atleast have them hidden using pxhidden control.
Okay. Ideally it should be working. Not sure what is going wrong.

Hi Sathish,
I have discussed with Mounika Thatikonda. If required, We can take help of Mounika Thatikonda for screen sharing.
Thanks & Regards
U Rajasekhar
Currently I am out of office. Can we have it on Monday May 16th ?

Hi Sathish,
We have identified few more issues
Client side Disable Conditions for Find Button not working:
- SearchProd.ProdNum = '' && SearchProd.ProdCode = '', Find button is not disabled, when “card / Account Number” is blank.
- .ProdNum = '' || SearchProd.ProdCode = '', Find button is disabled, when “card / Account Number” is blank
- SearchProd.ProdNum = '' AND SearchProd.ProdCode = '', Find button is disabled, when “card / Account Number” is blank. But once we enter and delete the value from card / Account Number”, Find button is always enabled.
- SearchProd.ProdNum = '' OR SearchProd.ProdCode = '', Find button is disabled, when “card / Account Number” is blank. But once we enter and delete the value from card / Account Number”, Find button is always enabled.
Thanks & Regards
U Rajasekhar