469,275 Members | 1,674 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,275 developers. It's quick & easy.

Livecycle designer: detect a field change and and highlight the field

Distributed forms. We need a simple way to detect the end user has changed the content of a form field and to highlight the changed field colour as a result. The change needs to persist through Save As so that it can been seen by the sender on return. Any ideas?
Jun 23 '10 #1
2 3824
8,651 Expert Mod 8TB
1) use the change event
2) save the change/highlight in a cookie
Jun 23 '10 #2
Hi Ali,

For each field you would like to be highlighted, add the following code to the change event:

this.fillColor = "255, 255, 0";

255,255,0 is the RGB for yellow

To edit the change event, select an object and open the Script Editor (Window > Script Editor)

For more info on scripting, check out the scripting reference dictionary and this introduction to scripting within LiveCycle Designer
Sep 17 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Ray | last post: by
1 post views Thread by Fan Zhang | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.