Expand my Community achievements bar.

Font Color

Avatar

Level 3

I have some text that is initally set to a font color of red. Once you type in the textfield the text is set to turn black.

In order for the text to save in black what script would I need to add to PreSave or PostSave?

Thanks in advance

3 Replies

Avatar

Level 10

preSave is executed before the form is save, postSave after that.

So preSave is what yo need.

Avatar

Level 3

So in PreSave how should the script be written?

Avatar

Level 10

The script in the preSave:Event of the textf field looks: