-
1. Re: Livecycle ES2 Footer TextField not Populating.
jasotastic81 May 6, 2014 10:26 AM (in response to MaxCO2012)Can you provide the code or the Action Builder steps you used? Also, do you use multiple master pages?
-
2. Re: Livecycle ES2 Footer TextField not Populating.
MaxCO2012 May 6, 2014 11:43 AM (in response to jasotastic81)I am only using one master page.
The ActionBuilder code is this:
this.resolveNode("#pageSet.Page1.FooterText1").rawValue = this.resolveNode("$").rawValue;
I've been staring at thi strying top figure out what I mgiht change, but no luck so far. That dollar sign seems wrong, no?
Thanks.
-
3. Re: Livecycle ES2 Footer TextField not Populating.
jasotastic81 May 6, 2014 1:06 PM (in response to MaxCO2012)If you don't mind using javascript instead of action builder, here's the code that would go in the exit event for that text field in your document--the one that you type in.
form1.pageSet.Page1.tfFooter.rawValue = this.rawValue;
Of course, I don't know what you named the footer text box, so change tfFooter to whatever you named it.
-
4. Re: Livecycle ES2 Footer TextField not Populating.
MaxCO2012 May 6, 2014 1:37 PM (in response to jasotastic81)I actually prefer using JavaScript, but LiveCycle is a bit new to me and I'm up against a deadline. Thank you very much for your help. I appreciate it.
I don't mean to break forum rules but I have another question, which is: Where does one "place" JavaScript subs in LiveCycle Designer that don't relate specifically to an object, or is that even possible? I'm trying to write a sub that will display a series of user messages based on which button is clicked and I do not want to create a long list of ActionBuilder events. It will be much more efficient of I can just have each "click" call a single sub that contains a case statement.
If I need to ask it thorugh another channel please let me know.
Thanks again.
-
5. Re: Livecycle ES2 Footer TextField not Populating.
jasotastic81 May 6, 2014 2:58 PM (in response to MaxCO2012)Each button gets its own click event to perform whatever action you wish. I'm not sure if that answers your question.
-
6. Re: Livecycle ES2 Footer TextField not Populating.
MaxCO2012 May 6, 2014 3:04 PM (in response to jasotastic81)It sort of does, thanks. I did read where you can do global scripts and that may be where I find my solution.
Incidentally, the new code suggestion behaves the same way. The master page textField shows up on each page of the form, but the value is only showing up in the first page after my exit event. All other pages show the default value. Puzzling.
-
7. Re: Livecycle ES2 Footer TextField not Populating.
whyisthisme May 6, 2014 3:16 PM (in response to MaxCO2012)Can I suggest trying the code the other way around. So in the masterpage footer put something like (in formcalc):
if (Page1.title.isnull == 0) then
$ = Page1.title
else $ = ""
endif
- obviously changing the name of Page1.title to whatever your field is called. You can put that in the layoutReady event of the footer
-
8. Re: Livecycle ES2 Footer TextField not Populating.
MaxCO2012 May 6, 2014 3:33 PM (in response to whyisthisme)Score!
Thank you!


