cancel
Showing results for 
Search instead for 
Did you mean: 

Change font color of changes in form

Former Member
0 Kudos

Hey guys, Here is what i am trying to do.. Launch an interactive form, Click a button to fill the form.

If the user changes any text i want the field to be highlighted or change the font color.

I tried doing this in the Change Event and it seems to work great, until the user submits the form, it loses the color change.

I want the color change to be visible for the approver so they can know what was changed.

Thoughts?

-Jason

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

When i do the Check, it reloads the form, and forgets all the states i have set in the Change event.. any thoughts on how to save my state before the check?

rakesh_m2
Contributor
0 Kudos

Try to declare some variables with initial value as 0. As soon as the state gets changed, in the change event, where you are changing the font color also change the variable value to 1. In calculate event of javascript, you can use these variables and check its value and accordingly display colors. When you check, it may forget states but not the variable values, so this should work.

Thanks,

Rakesh.