Question
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689981000/8a826a3c-6dfb-422d-adef-738170ec616c.jpg?itok=JdphAv-R)
Instellars
SG
Last activity: 6 May 2024 23:49 EDT
Need to change background color of the property when new value is updating
I have requirement like when property value is changing, I need to show background color for that field with pink color. and fields are in repeating grid layout.
I tried with scripts like below function in UserWorkForm "
function chnageColor() {
document.getElementByClassName("customclass").style.backgroundColor="pink" ;} but not working
here customclass mentioned in property presentation options
Can you please suggest any other scripts or any other approaches?
Thanks
***Edited by Moderator Rupashree S. to add Capability tags***