Best way to reset all fields of form with the exception of 1

Hi, I have a button with the click event:

xfa.host.resetData ();

However, there is a field that is associated with the mechanics of form and not the user interface that calculates a number of days.  I want that the calculation to stay after the reset of all fields in the form.  How can I do better?

Thank you!

Hello

A workaround is to declare a variable whose particular field value. Then reset the form. Then reallocate the specific field with the variable:

var vField = TextField1.rawValue;
xfa.host.resetData();
TextField1.rawValue = vField;

Hope that helps,

Niall

Tags: Adobe LiveCycle

Similar Questions

  • Best way to reset all controls on the front panel except one?

    Hello world

    I have an interesting problem, whereby I need to run successive tests using a test station which has several indicators on the front panel. At the end of each test, I need to reset all to default values, with the exception of a control (Test ID) who needs to keep his information - its value is used in an initialization status for test to ask for information from a database, so it can not be reset with the rest controls.

    I post all orders at a time using a reference ThisVI and VI Default Vals.Reinit All method, but this will obviously reset my control values (Test ID) as well. Any suggestions on how to keep properly or may store this information control while resetting all others. I can reset individually others but there is a little and more can be added as this system is developed.

    I don't really know what is the right way to proceed, and Labview has maybe one trick in his bag that I know to work around this problem.

    Thanks in advance for your suggestions,

    Alex

    Flank the node invoke with two nodes in the value property of the control to maintain the value. To the left we read as well as a right and the wires together. Connect three nodes with a thread of error to establish the order of execution.

    First reading place value on the wire, which is then written after the values have been reset to the default value.

  • Hidden field in form with the url of the page value

    Hello world of Dreamweaver,

    Just a quick question im stuck on.

    I have created a simple form name, Email and Message. The problem is I want to use the same form on several different pages, but being able to say what the URL of the form was sent from. I see I want a hidden field in the form, but how could I go all that actually send the URL with the other information?

    Thanks in advance!

    Do better on the server side (ColdFusion, ASP, PHP, etc.).   In ColdFusion, you can use #cgi.script_name # to get the name of the document that contains the form.

    However, you can use JavaScript (not as reliable - esp if the user has JS disabled.)

    Location.href or document. URL will take the path of COMPLETE domain including the name of the document.  Don't forget to access the page via the domain name FULL or http://localhost or http://127.0.0.1.  If access you it via file:\\\C:\path\to\document.htm, so I don't know how this will work.

    ^_^

  • Is there a way to customize all folders at once with the same details?

    I have several folders with several subfolders.  The default details that show for items in the files must be changed, but to make each file individually is taxation.

    Is there a way to customize all folders at the same time with the same details?  Thank you.

    Original title: "customize the details of the record.

    H,

    Thanks for the sharing of information, happy in the knowledge that you have addressed the issue. Your efforts to solve this problem is appreciated. Please do not hesitate to answer, in the case where you are facing in the future other problems with Windows.

  • best way to remove all changes

    What is the best way to remove all changes that were made to an image in Camera Raw, to get the picture to the way it was originally?

    I'm surprised! I use Lightroom most of the time, and that's what the reset button. You can do this in bridge. Right-click on the image, then choose the development-> erase settings parameters. As an alternative, you can use your file system browser to delete the XMP files.

  • What is used to reset all fields?

    Hello guys!

    I have 2 page. On page 1, there is a single button. When someone when this button is clicked, I want to reset all fields on page 2, is it possible? What function?

    You have so much!

    Yes, you use the same command and pass the fields or subforms that you want to have reset as a comma-separated string. So if you want to reset TextField1, TextField2 and subform1, you would use the command:

    xfa.host.resetData ("TextField1", "TextField2", "subform1")

    If you do not pass anything the entire form is reset.

    Paul

  • What is the best way to clean all the files of the user of a PC under Win98?

    What IS THE BEST WAY to CLEAN ALL USER FILES FROM A PC the wIN98

    Hi Col BROWN,

    Please see the following article on how to perform a clean install:

    http://support.Microsoft.com/kb/221829

    In addition, for more information, please see the following article:

    http://support.Microsoft.com/kb/835826

    I hope this helps!

  • best way to import animation (from host CC) to the Premier Pro?

    best way to import animation (from host CC) to the Premier Pro?

    Export of Animate to a format of PP can work with.

  • Is there a way to reset Lightroom to when I started the trial. In other words how it happened 'out of the box "?

    Is there a way to reset Lightroom to when I started the trial. In other words how it happened 'out of the box "?

    I read some tutorials and I would do it again.

    N ° it is bound to the date of the computer.

  • I just pass the parameters and software my PowerBook has a new Mac Pro. All CC software download is here and work, with the exception of the CC and there is no way to install.

    I just upgraded the software and settings, include CC, of my PowerBook for a new Mac Pro. All CC software download is here and work, with the exception of the CC and there is no way to install. I try because whenever I restar keep bothering asking for installation, (by the way, the link is not updated). You will appreciate your help.

    never migrate adobe software.  It must be properly installed.

    Uninstall all the programs of cc you can, clean and reinstall then by, use the CC cleaning tool to resolve installation problems. CC, CS3 - CS6

  • Fill in the form with the information to another form

    I have 2 forms.  I want to automatically fill the second form with the information of the first shape.  How could I get this?  I tried to import the xml data in the first shape in the second form, and nothing happened.  All fields of the second form have the same name as the corresponding fields on the first form.  I don't know what else I'm missing / need to do.

    Any help is very appreciated!

    Thank you

    Rose.

    Data can be imported into another form, but if it is not based on the same structure or schema (having the same name is not enough), then you can map incoming data to the fields on your form (this is called binding). In the dataview tab, you can create a new data connection (use the sample xml option) and your data structure is displayed in the palette. Then simply drag and drop each data node on the ground where the data should go. An icon will appear next to the data node to indicate that it is linked. Now, when you import the product data knows where you want the mapped data.

    You can also see where each field of the form is bound by highlighting the classified and clicking on the link tab.

    Paul

  • Text, highlighted during the navigation through form with the mouse

    Hello

    I have forms IAS 11.1.1.6. When I click on text tabled in form with the mouse, the text within the field is not highlighted (selected), but the slider is set when I clicked.
    When I tried the same thing on the same form on IAS 10 g and Forms 6i, the text still highlighted so I can run directly over the text.

    Is there a solution (set in) also for 11 GR 1 material (11.1.1.6) forms.

    Thank you and fr.

    The behavior has changed several times between the versions. If there is a situation where the text is not selected, but you prefer that he was, simply create a trigger in a TIMES - NEW - ITEM - INSTANCE and add the built-in SELECT_ALL*. This will cause the text to select when entering.

  • Can I do an auto-fill forms with the repetition of the data?

    I want the user to be able to enter text in a field in the form and get the other fields in the AutoFill forms with the same text (for example, if the name must be entered in three separate places). Is this possible?

    Leave the fields of the same name, and the values will automatically be the same.

  • What happened to all my music purchased with the recent update?

    What happened to all my music bought with the last update?

    You should be able to find one of your purchases and restoration if you connect your device to itunez on a pc if this does not help you can try looking in your email through your iphone at the top of the screen try typing a bill or itunes, it will search that then the emails from purchases to itunes which must have an order number on your music purchases and then contact customer support for itunes If you can not restore your music hope it helps to have a good day

  • I lost all the games with the exception of Freecell on my computer

    I lost all the games with the exception of Freecell on my Dell 8200 Windows XP computer. I followed the guidelines to reinstall using Add/Remove Programs, Windows Components and it said: everything is fine, but the games are never as far as I can tell.

    Thoughts?

    original title: games

    I found that I had to delete the games that were not there before I could add them.

Maybe you are looking for