Hi,
May be this is a stupid question, but I need to know the answer.
The question is
Is it possible to write a variable's value to a text field or numeric field during or in the middle of a script, not like at the end of script. Actually I found that live cycle designer forms writes values to fields when event script finishes.
I tried on a click even of a button.
TextField1.rawvalue = "5" ;
xfa.host.messageBox("test message");
But code shows alert message first and then writes the value afterwards. When alert windows pops up text field is having old value or say blank.
Thanks
Arvind
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Arvind
You could try using the layout:ready event, you just need some way of working out what the next step is, maybe for form variable you can increment each time the layout:ready event is called so you know to write out the next thing. There is an example of this in a sample here Adobe LiveCycle Designer Cookbooks by BR001: Season Planner (or Year Planner) PDF Template
Regards
Bruce
Views
Replies
Total Likes
Hi Arvind
You could try using the layout:ready event, you just need some way of working out what the next step is, maybe for form variable you can increment each time the layout:ready event is called so you know to write out the next thing. There is an example of this in a sample here Adobe LiveCycle Designer Cookbooks by BR001: Season Planner (or Year Planner) PDF Template
Regards
Bruce
Views
Replies
Total Likes
Hi Bruce
Though I did not fully understand your reply but you gave me an idea how to do that. I use global variable that solved my purpose what I was trying to do. There is yet to learn more about layout:ready even. It would be appreciated if you give me some brief.
Thanks
Arvind
Views
Replies
Total Likes
Hi Arvind,
Here is simplier sample that might help explain what I meant. https://sites.google.com/site/livecycledesignercookbooks/home/Steps.pdf?attredirects=0&d=1
Regards
Bruce
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies