-
1. Re: Can a global variable be used in a text object ?
Magus069 Jun 26, 2014 10:09 AM (in response to aufer)Yes, once you have assigned the value you want to assign it, use the property value to get the result...
Variable : varDepartment
Value : Human Resources
xfa.host.messageBox(varDepartment.value);
-
2. Re: Can a global variable be used in a text object ?
jnicholas330 Jun 26, 2014 6:29 PM (in response to aufer)This can be done with a floating field. Insert a floating field in your text and set the generated field to use a calculation script. Then set the calculation script to reference the form variable.
-
3. Re: Can a global variable be used in a text object ?
aufer Jun 27, 2014 11:24 AM (in response to Magus069)Thanks Magus069,
I am trying to avoid writing any code. Just place it the text - Something like "Survery {varDepartment} department"
Aubrey
-
4. Re: Can a global variable be used in a text object ?
aufer Jun 27, 2014 11:25 AM (in response to jnicholas330)Thanksjnicholas330,
I am trying to avoid writing any code. Just place it the text - Something like "Survery {varDepartment} department".
Also, I cannot find a floating field object - I am using Adobe Pro 9 with the included LiveCycle Designer 8.2 ES
Aubrey
-
5. Re: Can a global variable be used in a text object ?
Magus069 Jun 27, 2014 11:34 AM (in response to aufer)Here is a video on how you can make your floating fields
Using Floating Fields in Adobe LiveCycle Designer ES 4® - YouTube


