I'm using Adobe Designer (the new Adobe LiveCycle) to create a Department Newsletter template. Currently I have it with a white background when highlight is off and blue background when highlight is on. I only want the highlight visible for the people filling out the form. Once form is filled out and emailed, remove the highlight. I tried using the action builder but can't seem to get it to work. I tried the "fillcolor" command (see below) and it didn't work either.
//+ GENERATED - DO NOT EDIT (ID:DB1EFA09-5681-41A3-9A99-0EF82C102EFB CRC:3480981022)
//+ Type: Action
//+ Result1: SetFillColor("$Node1","255, 255, 255")
//+ Node1: form1.MainPage.SF1.Title
//+ Condition1: TextField("$Node1","exited","")
//+ ActionName: Title.exit
this.resolveNode("$").ui.oneOfChild.border.fill.color.value = "255, 255, 255";
All my users have Adobe Reader only. How can I simplify this?
Solved! Go to Solution.
this is more simple than you think. Unless you want only a part of the form to be fillable and another part that is not.
If your whole form is to be filled or not you can change the highlighted fields with the following statement:
Hope this will help you
After playing with it, when reviewing the emailed attachment of the newsletter, it shows the highlight. I also have a submit button that hides after the form is submitted, but the emailed attachment shows that also. I'm missing something (that is most likely a simple thing). Any suggestions?
I forgot to mention that if you want to keep it that way every time the form reopens, I suggest you add an if statement when the document loads itself to turn off the highlights (docReady, formReady, initialize, calculate) whichever is the more appropriate.
Verify the order in which you execute submitting the email and hiding the button. Make sure you send the email after hiding the button.
Also after sending the email you can put the button back to visible in case the user cancelled sending the email and needs to send it again.
When you achieve being able to keep the button hidden when reopening the form from the email, you can add the following code to any of the submit button's events mentioned above.
*Note: even if you change the highlight field option with code, the user will always be able to change that highlight at any moment using Reader. If you want to avoid that you'd have to change the fields to read only.
Hope this will help
Do you know a good website I can use to learn when to use the different scripts such as the docReady,
formReady, initialize, calculate that you mentioned?