Highlighted

Floating Field on exit not working

Mar_J

23-03-2009

I have a multi page form that begins with a data entry page and there are several floating fields in the form.



The following code is not working when it is put in the exit event, but does work if I put in a default value in the field and put the code in the initialize event. (version:8.0.1291)



xfa.resolveNode("ContractEmp.EA1.floatemployee").rawValue = this.rawValue;

xfa.layout.relayout();



Id appreciate any input to this dilemma.



Thanks.

Replies

Highlighted

pguerett

23-03-2009

The floating field is only used when data is merged into the form to reflow text. For example if I have a paragraph of text and I want to insert your name into the paragraph, I would use a floating field to represent the data that woudl be merged onto the template. Once the data is merged the field is changed into static text and the paragrapg is reflowed. After rendering it is not a field anymore (hence it has no properties). If you want to be able to interact with it then use a normal interactive field.
Highlighted

Mar_J

23-03-2009

Paul,



Thank you for the quick response.



The floating field I have is on page 12 of my form, I wanted it to populate based on data that is entered into a field on page one. Page one is strictly data entry and populates global fields on pages throughout the form.



The floating field is inserted into a text paragraph. I've used this method in a previous form and it works perfectly. I cannot figure out why it's not working on this form. I'm new to LC and I must be missing something. I compared this form with the one that works, and I'm not seeing anything different.



I'd love to get this to work on this form. Is there a direction you can point me in?



Thanks.
Highlighted

pguerett

23-03-2009

The form must be re-rendered then for the floating field to be interpretted...is it possible that you are doing a round trip to the server to render the form ....once you enter data on the 1st page?
Highlighted

pguerett

23-03-2009

Just taking a shot in the dark ...can you send the form that works and the one that does not to livecycle8@gmail.com and I will investigate. Also include a description of how to reproduce the issue.
Highlighted

Mar_J

24-03-2009

Hi Paul,



I noticed that everyone let's you know when they sent you their forms for your assistance. I sent mine yesterday.



Thanks.



MJ
Highlighted

pguerett

25-03-2009

Still didn't show up



How about you post your email address and I will send you a message. Then you can follow up with the email that I send you.