I just did an upgrade to Designer ES2.
I created a new form with static textfields and floating textfields
then i created a button that filles the floating field with a text using javascript.
xfa.resolveNode("form1.#subform[0].Textfield1").rawValue
= "it doen't work";
But it doesn't work
When i make the floating field visible, so i see the normally hidden field, the i see that the script works, but that te tekst doesn't show in my static textfield
Anyone else with this problem?
Can anyone tell me what i'm doing wrong?
In the previous Designer ES it worked fine and opening those forms in ES2 still work
But creating a new form with a floating text doesn't work
Solved! Go to Solution.
Views
Replies
Total Likes
I think you need to add xfa.layout.relayout(); to get the floating fields to update.
Views
Replies
Total Likes
I reinstalled Both Designer 8.x and ES2 several times, but i have the same problem with both versions.
Now i only have Designer 8.x installed on my WinXP.
i created a new empty form and add a static text field and a button.
within that static textfield i insert a floating field.
i add a Formcalc script to the click function of the button: Field.rawValue = "hello"
i save it as a dynamic form.
preview the form and when i click the button nothing happens
Then i change the presence of the floating field to visible, so a normally hidden field is visible
Now without changing anything i preview the document en click on the button
Now i see the text in the field i just made visible, but still not in the static textfield where i inserted that floating field.
Views
Replies
Total Likes
Floating fields are not interactive ...they are filled in when data is merged with form (at initialize) and then turn into static text
.
Paul
Views
Replies
Total Likes
I think you need to add xfa.layout.relayout(); to get the floating fields to update.
Views
Replies
Total Likes
Thank you, it works
In previous forms i used the page numer script.
That script also updates the layout
Now i understand why it didn't work with this form
Views
Replies
Total Likes
Views
Likes
Replies