Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Siemens Technology and Services Private Limited
IN
Last activity: 30 Nov 2018 13:28 EST
'Set Style' action does not work.
Hi,
We have a requirement to change the color of text in a text box 'on change'. For this I tried:
'On Change' --> 'Set Style' on the Actions tab of the text box control. But this just doesn't work. The platform version is 7.2.2
Is this a product issue or am I missing something? Can anyone advise please?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2023-07/f7f35052-5e7d-4ed9-ada9-87594f1d3c63.png?itok=bz3Ms_gZ)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2023-07/f7f35052-5e7d-4ed9-ada9-87594f1d3c63.png?itok=bz3Ms_gZ)
Pegasystems Inc.
US
Upon reviewing the associated Support Request, SA-67211 Set Style action does not work in the On Change event was generated as the resolution. Please refer to this SA if you're having the same difficulty.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
FR
Hello,
Can you check if the SetStyle on the UI gallery is working for you and compare with your configuration maybe:
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
4th Source
MX
I have the same issue, apparently it works only in Focus action, but if you want to apply a new style on Change action it is not working. I have tried to research if the Skin is overriding the new style but I did not find anything.
-
Paul Tang King Yu Tam Richard Spellman
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689877000/122ddbf9-8ed7-431e-8c0c-0892f658c39d.png?itok=HwmzfVHs)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689877000/122ddbf9-8ed7-431e-8c0c-0892f658c39d.png?itok=HwmzfVHs)
Pegasystems Inc.
US
I am able to reproduce the issue in-house. Also checked in UI Gallery, and could again reproduce the issue. Only Focus seems to be working. This looks like a bug.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689951000/acf9b3f6-41e7-4ef2-9e55-8da39714b54f.jpg?itok=JYQYUbWS)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689951000/acf9b3f6-41e7-4ef2-9e55-8da39714b54f.jpg?itok=JYQYUbWS)
Pegasystems Inc.
IN
Hello,
Since this was determined as a bug, please continue investigation with Pega GCS via an SR. Please let us know the SR# once created.
Thanks,
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1690009000/c6233fa4-0bc8-4398-a0bd-9b46cf36a0da.jpg?itok=e3cvp_t8)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1690009000/c6233fa4-0bc8-4398-a0bd-9b46cf36a0da.jpg?itok=e3cvp_t8)
Amdocs
MX
SR created SR-C66086
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689951000/acf9b3f6-41e7-4ef2-9e55-8da39714b54f.jpg?itok=JYQYUbWS)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689951000/acf9b3f6-41e7-4ef2-9e55-8da39714b54f.jpg?itok=JYQYUbWS)
Pegasystems Inc.
IN
Thank you! I have linked the SR and this post for effective troubleshooting.
Accepted Solution
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2023-07/f7f35052-5e7d-4ed9-ada9-87594f1d3c63.png?itok=bz3Ms_gZ)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2023-07/f7f35052-5e7d-4ed9-ada9-87594f1d3c63.png?itok=bz3Ms_gZ)
Pegasystems Inc.
US
Upon reviewing the associated Support Request, SA-67211 Set Style action does not work in the On Change event was generated as the resolution. Please refer to this SA if you're having the same difficulty.