How to successfully reset the fields in a repeating subform
Hello
I'm more and more frustrated just trying to create a form dynamic xml () with lifecycle designer.
As a test, we build a form that contains a repeating subform.
We want to reset the fields in the current subform and only the current subform using the following snippet:
var som_kdnr = this.parent.somExpression + ".." Kopfzeile.Kundennummer ';
xfa.host.resetData (som_kdnr);
But instead of reset the field "Kundennummer' in the current subform, copy the following code resets this field in all subforms.
And to make this behavior even more "interesting" than that happens only if we use Adobe Reader XI - if we use Foxit Reader, the script does the job...
How can we get this running in two players?
You should not add a string to the somExpression, you must Access the Kundennummer field and then use the somExpression instead of do it yourself.
this.resolveNode("Kopfzeile.Kundennummer").somExpression;
Tags: Adobe LiveCycle
Similar Questions
-
Value of the field in a repeating subform
I have a repeating subform with text for City, State, and Zip fields. I want to take everything that the user enters in the first (or only) instance fields and automatically put this information in a city, State or Zip field in a completely different section of the form. I just need to copy on the first instance of these fields if there are multiple instances. I can get this to work if the user adds an instance of the repeating subform and add a second city, State and/or Zip, but I can't make it work if there is only one instance of the repeating subform. It does not work if the user adds an instance but does not come to the city, the State or the Zip. I need to run regardless of the number of instances.
For example, here's what I put in the case of 'change' of the city (inside the repeating subform) field and it works if there is another instance added:
Form1. Page3.CityOther.RawValue = form1. Page1.SubformRepeat [0]. . RawValue City [0]
(It's using FormCalc. I couldn't JS to work).
I would put in the case of page layout: loan of form1. Page3.CityOther (in formcalc):
If (form1. Page1.SubformRepeat [0]. . IsNull City [0] == 0) then
$ = form1. Page1.SubformRepeat [0]. City [0]
endif
In this way, it has nothing to do with the instance manager and just make an equal to another if there is a value in the first.
-
Re: Satellite Pro L300 - how can I reset the BIOS password?
I put the password on the BIOS and electric start and I forgot the password.
How can I reset the password?I have a Toshiba Satellite Pro L300.
You must bring the laptop to an authorized service center to remove the password.
Which country are you? Check your local Toshiba Web site for a list of the ASP (service centres).
-
My iphone camera 6 + doesn't have an option to take direct pictures IE 3 small circles are missing. How can I reset the camera?
-
How can I reset the old my wife's phone so I can use it and she can not remember any password or ID
How can I reset the old my wife's phone so I can use it and she can not remember any password or ID
Here are instructions, but she will need to recover his password: what to do before you sell or give away your iPhone, iPad or iPod touch - Apple Support
Help find the ID and the password: https://iforgot.apple.com/appleid#! & section = appleid
-
Some * changed my password to Icloud and lock my phone by finding my phone app
What should I do now, I can not activate my phone. My apple ID still works but not my Icloud how can I reset the password
-
I lost my password to enter the EOS remote app to control my D6 remotely.
How replace or reset the password for the app?
I tried to remove the application on my phone and re - install. That did not help.
Thank you
Hello Elsmain,
You can change the encryption settings, but you must navigate through the steps. You should not change anything until it's set the encryption settings. The steps to get there, start here:
1. turn the switch to
. -
Hello
The function of the program was to indicate the elapsed time. When the program has been run and the switch set to true, the indicator showed the elapsed time. And then move the button to false, the stop indicator to indicate the elapsed time. How can I reset the time elapsed to indicate the time elapsed since 0 when the button switch again without pressing the button "stop"? The program is attached. Thank you.
From your description, it seems that your code is way too complex. -What are you really trying to do?
-
How can I reset the default settings of the monitor for Vista
Somehow, I ended up setting my screen laptop like I have look on the side for one of the two users on the PC. The other user is fine. Any ideas on how I can reset the default to display monitor?
Try holding CTRL + ALT + UP arrow at the same time. You can also try the other arrows. I hope I could help
-
How can I reset the time and date on Windows Vista?
How can I reset the time and date on Windows Vista
http://www.ehow.com/how_2056384_change-date-time-Windows-Vista.html
http://www.Vistax64.com/tutorials/114989-date-time-change.html
Read the information in one of the links above.
See you soon.
Mick Murphy - Microsoft partner
-
How can I reset the administrator user accounts?
My Windows 7 PC is now standard user. How I can change standard user to administrator. The system won't let me change. How can I reset the administrator user accounts? Or, how you're going to help me change the setting?
If you have AN administrator account on your computer then the answer of Joel help at all.
You cannot change a user account Standard on an admin on another account Admin account (AFAIK)
Try this:
Boot from your Windows repair disk (you DID make a?) and use system restore to set Windows to a point before it happened.
-
How to make all the fields on one page read only (for the recipient) without having to make each field read-only?
Hello Jmbtexas4,
By default, you will need to individually click on the fields of the form and check the 'read only' and save it. From now on, it is not possible to select all together and make the changes.
-Usman
-
How can I lock the fields after that you filled out a pdf file
How can I lock the fields after that you filled out a pdf file
Hello
Please refer to this topic THAT PDF locking after filled will be a great help.
Kind regards
Nicos
-
How to selectively reset the content in a form
I have a reset button on my form to clear all user input. I have a table with Qty. price inputs and the corresponding fields that calculate amounts etc.
I would like to add a reset button to clear only the entries in the table and corresponding totals. How can I do this?
You can pass the path of the field to the function resetData to selectively reset the data in the form.
xfa.host.resetData ("xfa.form.form1.Page1.Table1");
xfa.host.resetData ("xfa.form.form1.Page1.TextField1");
OR
xfa.host.resetData ("xfa.form.form1.Page1.Table1, xfa.form.form1.Page1.TextField1"); Combine several fields in a single statement...
Thank you
Srini
-
I don't remember the password for my TC. How can I reset the password?
Hi all! I was not using my TC for awhile and I've totally forgotten the password. I was wondering how to reset the password.
AirPort Utility 6.x - if you forgot your station base, airport Time Capsule or network password
Maybe you are looking for
-
every time I help out to fix this problem, it search for it and then he said: this bluetooth device driver is not installed. Install the last jerking for the device. After that, I click option apply this hotfix then he begins to search for, but after
-
CyberLink PowerDirector is unable to update on the g7-2215dx Pavilion
By pressing the update from HP for Windows 8, the installation fails, but provides no information on the cause.
-
I've had this problem for maybe 2-3 months already, my other laptop has it as well. I had not updated in a while so I took the time and updated and restarted if necessary until at some point, the search never stopped and after a while the ups and dow
-
Component package 4.7.0 JDE not no projection in Eclipse
Following the recipe here: http://supportforums.blackberry.com/t5/Java-Development/Eclipse-3-4-Plugin-Installation-Problems/td-... I got got the BLackBerry JDE component 4.6.0 Pback to appear in my list of installed components. I have now installed
-
Hi I seem to have a problem trying to get AVG works when I download. Can someone answer my question, I'd be happy. Thank you Arlene Willans