Objective to Focus when add new Instance

[LC Designer ES2 9.0] With the help of generator of the Action to add a new instance of subform SITE, where the first field is called SiteName.

If I set the action to put emphasis to SiteName, the focus switches to the * original * SiteName field of instead of the new instance.

Users must add usually a number of additional sites, and every time, I want to focus on the first field of the most recent instance, not the original instance. How to accomplish this? Thank you!           ~ Carol

There is no attachment... can ghoulish you send it to me [email protected]

Paul

Tags: Adobe LiveCycle

Similar Questions

  • Add new instances to the top of the bottom of the list (table or group) vs

    Is it possible to add new instances (i.e. of a table row, or a subgroup) to the "top" of the bottom vs list? New instances are usually added at the bottom of the group, but I have a case in which I am trying to insert new instances of more recent story of Job, so have the instances added at the top of the list is more advantageous.

    Please advise and thanks in advance!

    Hello

    to add an instance on the top use the menthod of insertInstance() instead of addInstance().

    Table1._Row.insertInstance(0, true);
    
  • Search for a value in a field in a subform before allowing a user to add a new Instance

    Configuration of the form:

    Name of the page = page 1

    1 subform in Page1 = Info (fixed to slur)

    Objects in the subform Info: name (textfield) and Email (textfield)

    I also have a 2nd subform within Page 1, which contains a button instance add

    What I'm doing:


    1. the user must enter their name and E-mail address, then click 'Add a button to the Instance' to create a new instance of the subform Info : _Info.addInstance (1);

    2. If the user does not enter an e-mail address, I want there to be a message box this info the user address of e-mail is required before, he or she can create a new instance. Note: would be nice if the slider is set to foucs on the email in this particular instance of subform field.

    3. as long as the user tries to add an instance, he or she will be refused if they are not an email in this case

    4. If the user has an e-mail address in this instance, then the script will create adds a new instance

    5. the process should continue in this way for each, each instance button click Add

    I presume that it nees to be a loop and perhaps a scipt for somExpression, but I'm not sure.

    Here's what I have so far (see below)... The script works for the first instance on the page, but this does not prevent instances to be created when the email in the 'current' instance field is empty. I want to prevent the user to add new instances if the email field is balnk in this "current instance. So, I guess I don't know how ot test a field in the current instance in a repeating subform.

    var VNAME = Info.somExpression + ".email";

    var vEmail = xfa.resolveNode (VNAME) .rawValue;

    if (vEmail == null)

    {

    xfa.host.messageBox ("Please enter an email address.");

    }

    else {

    Form._info.addInstance (1);

    var i = Form._Info.count 1;

    xfa.host.setFocus (xfa.resolveNode ("Info [" + i + "].")) Name')); This set is the focus of the cursor in the name field in the newly created subform

    }

    Please advise and thanks in advance!

    Hello

    Try something like;

    var lastRow = Form.resolveNode ("Info [" +(_Info.count-1) + "]"); Get the last row

    If (lastRow.Email.isNull) / / if the email field empty

    {

    xfa.host.messageBox ("Please enter an email address.");

    }

    on the other

    {

    newRow var = _Info.addInstance ();

    xfa.host.setFocus (newRow.Name.somExpression); set the focus to the field name on the line has been added

    }

    Concerning

    Bruce

  • Could not add the instance of a hidden subform

    I use Adobe Designer 10 and have used the Action feature to set up my buttons.

    Here's the problem:

    The user is presented with a question:

    You eat apples? Yes/No.

    If the user selects the 'Yes' box, then the subform, 'WhatKindofApples', is set to Visible and appears.

    If the user eat more than one kind of apple, the user must be able to add additional instances of 'WhatKindofApples' by clicking on the button 'add additional apples '.

    If the subform, 'WhatKindofApples', is set to Visible the button 'Add additional apples' works very well.

    If the subform is set to Hidden, then the Add button does not work.

    So, it seems that there is some kind of conflict between being able to add additional instances of subforms hidden once they become visible. I have included my form Javascript code.

    Here is the Javascript code for the Add button:

    Form1. WhatKindofApples.AddAddlApples::click - (JavaScript, client)

    + PRODUCT - CHANGE (ID:0482B39E - E8D0-4F08-B 313-E142D733EE1F CRC:2782582760)

    + Type: Action

    + Result1: AddInstance ("$Node2")

    + Node2: form1 [0]. WhatKindofApples [0]

    + Node1: form1 WhatKindofApples [0] [0]. AddAddlApples [0]

    + Condition1: Button ("$Node1", "click")

    + ActionName: AddlEntityPrivate.click

    this.resolveNode('form1._WhatKindofApples').addInstance (1);

    If (xfa.host.version < 8) {}

    XFA. Form.Recalculate (1);

    }

    //-

    Any help would be greatly appreciated!

    Hello

    I suspect that the addInstance() is trying to work. Keep in mind that the addInstance() will create a new instance of the object that is repeated in its original state. So if the extensible object has hidden, then if new instances are created they will be also hidden.

    A work around would be to establish the presence of the subform to visible in design mode (object > field palette). Then, in the object > range of binding the value the number Min 0. This means that when the form is rendered, the subform will not appear. Finally, the script in the click event of the button would add an instance, rather than make it visible.

    Hope that helps,

    Niall

  • New Instance problem

    Hello world

    I have a problem on the creation of a new case. In fact, I have new instances like the example of parents and children. I created a global Boolean attribute for a purpose in the summary screen. I made a new people of entity with the name of an attribute, and then I did a screen question asking the name of the person, I checked the entity transferred on this screen instances. So when I run it, I can see my goal seeking the global attribute but I see not my scren question asking the name of the attribute with the buttons add new instance and delete the instance. I don't understand, it's because I did not create rules? Please someone help me

    Thank you

    Hello

    Your goal includes all the requirements of a feature attributes?

    If your goal have conditions, which checks the attribute of an entity, then you will be directed to entity collection screen.

    Hope that helps.

    Thank you.

  • Copy to the new instance of the subform

    What I'm trying to do is to copy a field and when a new instance of a subform is created to another field.

    When a user clicks the show button, the button to show opens a new instance of the form.  I need the sent field to fill in the field of criticism on the new instance.  Is this possible?

    instance.png

    Hello

    Here is an example:

    https://Acrobat.com/#d=HD6XJ1qofZDf713Yq1P43g

    The first example simply sets the value of the drop-down list. The second adds an element to the drop of the examiner, as sending drop-down list allows the custom entry.

    I've been lazy even if, as the script should check first of all the duplicates. I'll try and get back to that.

    Hope that helps,

    Niall

    Ensure the dynamics

  • Adding new instances of data in the Grid control

    Hi all

    Can someone tell me how to add instances of database for the EM grid control.

    Thank you

    Install the OEM agent on the new machine and configure it with grid server. You can then add new instances of db.

    If not discovered automatically and then discover instances manually.

    Please read OEM for the same framing grid.

    http://download.Oracle.com/docs/CD/B19306_01/EM.102/b40103/post-installation_configuration_tasks.htm#CIHIGBIF

    http://download.Oracle.com/docs/CD/B19306_01/EM.102/b40103/deploying_the_management_agent.htm#CIHHJJJJ

    Concerning
    Rajesh

    Published by: rajesh.lathwal on March 19, 2010 09:52

    Published by: rajesh.lathwal on March 19, 2010 09:53

  • button that makes random location of objects, when clcked new del the old stuff.help tips &amp; reputs

    Hello everyone I am doing a program when I click on the randomize button it puts random objects in a given area and if you click on the button again it must remove objects and put on a new random object model.

    need help!

    from the moment I have only an error message "or is unexpected", but I'm afraid that my night idea does not work help please!

    to import flash.geom.Point;

    import flash.events.MouseEvent;

    var number: Number = 1

    var scale: Number = new Number().

    var treeList:Array = new Array();

    var grass1List:Array = new Array();

    var grass2List:Array = new Array();

    var grass3List:Array = new Array();

    var grass4List:Array = new Array();

    var grass5List:Array = new Array();

    rdm_btn.addEventListener (MouseEvent.MOUSE_UP, Random);

    random function (e:MouseEvent): void

    {

    If (no < 3)

    for (var p:Number = 0; p < 500; p ++)

    {

    var grass5:Grass5 = new Grass5();

    var tempPointGrass5:Point = new focus();

    tempPointGrass5.x = Math.floor (Math.random () * 1000);

    tempPointGrass5.y = Math.floor (Math.random () * 1000);

    If (checkBoundary (tempPointGrass5.x, tempPointGrass5.y))

    {

    grass5.x = tempPointGrass5.x;

    grass5.y = tempPointGrass5.y;

    grass5. ScaleX = grass5.scaleY = (tempPointGrass5.y/650);

    grass5List.push (tempPointGrass5);

    addChild (grass5);

    }

    on the other

    {

    p-- ;

    }

    }

    for (var q: Number = 0; q < 500; q ++)

    {

    var grass4:Grass4 = new Grass4();

    var tempPointGrass4:Point = new focus();

    tempPointGrass4.x = Math.floor (Math.random () * 1000);

    tempPointGrass4.y = Math.floor (Math.random () * 1000);

    If (checkBoundary (tempPointGrass4.x, tempPointGrass4.y))

    {

    GRASS4.x = tempPointGrass4.x;

    GRASS4.y = tempPointGrass4.y;

    GRASS4. ScaleX = grass4.scaleY = (tempPointGrass4.y/650);

    grass4List.push (tempPointGrass4);

    addChild (grass4);

    }

    on the other

    {

    q-- ;

    }

    }

    for (var v: Number = 0; v < 500; v ++)

    {

    var grass3:Grass3 = new Grass3();

    var tempPointGrass3:Point = new focus();

    tempPointGrass3.x = Math.floor (Math.random () * 1000);

    tempPointGrass3.y = Math.floor (Math.random () * 1000);

    If (checkBoundary (tempPointGrass3.x, tempPointGrass3.y))

    {

    grass3.x = tempPointGrass3.x;

    grass3.y = tempPointGrass3.y;

    grass3. ScaleX = grass3.scaleY = (tempPointGrass3.y/650);

    grass1List.push (tempPointGrass3);

    addChild (grass3);

    }

    on the other

    {

    v-- ;

    }

    }

    for (var t:Number = 0; t < 500; t ++);

    Ingore the code here

    var grass2:Grass2 = new Grass2();

    var tempPointGrass2:Point = new focus();

    tempPointGrass2.x = Math.floor (Math.random () * 1000);

    tempPointGrass2.y = Math.floor (Math.random () * 1000);

    If (checkBoundary (tempPointGrass2.x, tempPointGrass2.y))

    {

    Grass2.x = tempPointGrass2.x;

    Grass2.y = tempPointGrass2.y;

    Grass2.scaleX = grass2.scaleY = (tempPointGrass2.y/650);

    grass2List.push (tempPointGrass1);

    addChild (grass2);

    }

    on the other

    {

    t-- ;

    }

    }

    for (var j: Number = 0; j < 500; j ++)

    {

    var grass1:Grass1 = new Grass1();

    var tempPointGrass1:Point = new focus();

    tempPointGrass1.x = Math.floor (Math.random () * 1000);

    tempPointGrass1.y = Math.floor (Math.random () * 1000);

    If (checkBoundary (tempPointGrass1.x, tempPointGrass1.y))

    {

    GRASS1.x = tempPointGrass1.x;

    GRASS1.y = tempPointGrass1.y;

    GRASS1. ScaleX = grass1.scaleY = (tempPointGrass1.y/650);

    grass1List.push (tempPointGrass1);

    addChild (grass1);

    }

    on the other

    {

    j-- ;

    }

    }

    for (var i: Number = 0; i < 20; i ++)

    {

    var: tree = new Tree();

    var tempPointTree:Point = new focus();

    tempPointTree.x = Math.floor (Math.random () * 1000);

    tempPointTree.y = Math.floor (Math.random () * 1000);

    If (checkBoundary (tempPointTree.x, tempPointTree.y))

    {

    Tree.x = tempPointTree.x;

    Tree.y = tempPointTree.y;

    tree.scaleX = tree.scaleY = (tempPointTree.y/650);

    treeList.push (tempPointTree);

    addChild (tree);

    }

    on the other

    {

    i-- ;

    }

    }

    No ++

    No ++

    No ++

    on the other

    {

    non-

    non-

    non-

    treeList.length = 0

    grass1List.length = 0

    grass2List.length = 0

    grass3List.length = 0

    grass4List.length = 0

    grass5List.length = 0

    }

    }

    function checkBoundary(X:Number,_Y:Number):Boolean

    {

    If (X > 100 & & X 900 < & & Y > 220 & & Y < 500)

    {

    Returns true;

    }

    Returns false;

    }

    Describe your rectangle and call positionItemsF each time you want to make random/re-randomize the positions of the elements.

    var r: Rectangle = new Rectangle (100,200,300,300);

    var itemA:Array = [tree, grass1, grass2, grass3, grass4, grass5];

    positionItemsF();

    function positionItemsF (): void {}

    for (var i: int = 0; i<>

    If your items have upper left reg

    itemA [i] .x is randomF (r.left, r.left + r.width - itemA [i] .width);.

    itemA [i] there is randomF (r.top, r.top + r.height - itemA [i] .height);.

    }

    }

    function randomF(n1:int,n2:int):int {}

    If (n1<>

    Return n1 + Math.floor ((n2-n1+1) * Math.random ());

    } else {}

    Return n2 + Math.floor ((n1-n2) * Math.random ());

    }

    }

  • Error "Object reference not set to an instance of an object" when you try to use a disk with vSphere Client

    Hi all

    I searched exhaustively positions but found no answear that.

    I'm trying to access a virtual disk that is free (no machine not in use now).

    For this purpose, I am went to a virtual computer, then clicked on edit settings - & gt; Add hard drive - & gt; use a disc

    Then, when I am prompted for the disk, I select it and click ok.

    When I click on 'Next', you will receive the following message:

    Object reference not set to an instance of an object

    (it seems really in Spanish: Referencia an object no set como UN instance object)

    And then the next button appears as non-cliquable.

    Any suggestions?

    It could be related to the .NET Framework, so I write here the versions I have currently installed:

    .NET framework 2.0 SP1 LanguagePack

    .NET framework 2.0 SP2

    .NET framework 3.0 SP1 language pack

    .NET framework 3.0 SP2

    .NET framework 3.5 SP1

    All this with the patches.

    Thank you in advance for your help!

    Juan J.

    PS: I found there was information about the lost pilots and VSphere Client. I already changed those:

    %RootDrive%\%ProgramFiles%\VMware\Infrastructure\Virtual infrastructure Client\Launcher

    Where I copied libeay32.dll and ssleay32.dll

    I would then watch the logs on the ESXi console.

    Re-create the error, and then search for log entries that appear at the same time.  That should shed more light on what could be causing it.

    Good luck!

  • Add new data to instance and copy

    Customer requested due to:

    Each press of button creates a new instance of the subform (just 10 text fields), not the table.

    They want another button, which will create a new instance of the subform and copy the data from the beginning, whenever they click the button.
    Someone has a code in JavaScript to share?

    Hello

    You could probably do this as a loop through the objects in the subform, but as he is only 10 years old, you could script each in turn:

    // Add the instance
    page1._Subform.addInstance(true); 
    
    // Duplicate from first instance
    var nCount = page1._Subform.count - 1;
    var oFirst = xfa.resolveNode("page1.Subform[0]");
    var oLast = xfa.resolveNode("page1.Subform[" + nCount + "]"); 
    
    oLast.TextField1.rawValue = oFirst.TextField1.rawValue;
    oLast.TextField2.rawValue = oFirst.TextField2.rawValue;
    oLast.TextField3.rawValue = oFirst.TextField3.rawValue;
    

    Something like this should work,

    Niall

  • Add new node question and RAC instance

    Without going into the details, our society is to have a new node added to a two-node cluster. Because this particular system is hosted by an outside supplier, our only role is to add the new instance once the seller has set up the cluster and the DSO for the new node. It's our first time it and because of an extremely aggressive timeline, we will only succeed a shot in a test environment before as we do in production. Everything we have seen, the steps to add the new instance with the DBCA Wizard are pretty simple. After verifying the correct name of the instance, it seems that virtually one "next - next" situation. Is it too 'easy' it looks like? Are there any special traps that we seek? Any help or advice for this is greatly appreciated.
    It seems that the current proceedings can be alive when we run addnode.sh and when you add the new instance.

    Yes, the idea of offering the availability while allowing the flexibility to add nodes online. I did with a couple of times and simple enough forward.

    HTH

    Thank you
    Chandra Pabba

  • How to remove add it on to google search when the new tab is selected.

    The location of the default cursor is in the search box that is displayed when a new tab is selected. It's a firefox add-on. I would remove that add on. So that the cursor will move to the browser when a new tab is selected.

    Hi cor - el

    Who did the trick. Now, I own empty screens when I open my home page or open a new tab. I like the simplicity - I don't want to see ads or irrelevant guff loads when I use internet. I like a clear workspace, it makes me more relaxed and more productive. I am now very happy!

    Thanks a lot for your help to solve my problems.

    And thanks to Monez01 to start the discussion.

    All the best wishes, FriedEgg (keeping my Sunny Side Up!)

  • When I open a new tab, I stay on the current page, even though I have changed my preferences to focus on the new tab.

    When I open a new tab, I stay on the current page, even though I have changed my preferences to focus on the new tab.

    You have this problem when running in Firefox SafeMode?
    http://support.Mozilla.com/en-us/KB/safe+mode
    Do not choose anything at the moment, just use 'continue in safe mode.

    If this is not the case, see this:
    http://support.Mozilla.com/en-us/KB/troubleshooting+extensions+and+theme...

    You probably have an installed extension that has a conflict with another extension.

  • Why Windows Media Player Dump existing MP3s when I add new to SD memory card?

    Why Windows Media Player Dump existing MP3s when I add new to SD memory card?

    Is there a setting I'm missing or something I forgot?

    All that I could find for now is the following. I'll try to get WMP to give me the new option.

    Connect the player to the computer (if you get a menu of Autostart just close it), open WMP and then go to the Sync tab, click on the small arrow below, then down the list to your rocket, a fly out menu will pop to the top and in this menu, you will descend to configure synchronization and will open a window called Device Setup , In the upper left corner, there is a checkbox indicating automatically synchronize this device, make sure it is not checked. If you get a menu when you plug it in, having options that wants to know if you want to allow yourself music, or delete it and make room for new files, make sure you click on the music of leave on my device option. You must be sure of automatic synchronization is disabled and that WMp is not deleting you music so you can add others.

  • How can I add a contact to my new folder, when the add new contact button is missing?

    original title: adding new Contacts

    How can I add a contact to my new folder, when the add new contact button is missing?

    Hello

    see if that helps

    http://www.vista4beginners.com/missing-buttons-from-Windows-contacts-toolbar

    http://www.Vistax64.com/tutorials/186477-new-contact-new-contact-group-button-missing.html

Maybe you are looking for

  • Satellite U400 - 12 p and mSATA SSD

    I have the Satellite U400 - 12 p.The motherboard has two free slots miniPCI if they install mSATA SSD OCZ AC Nocti - MSATA - 120G, for example in these slots?

  • Satellite U500/01b N-Trig DuoSense

    Hello I recently bought a brand new U500/01b ([PSU9BA - 01b 002 | http://www.mytoshiba.com.au/products/notebooks/satellite/u500/psu9ba-01c002]) laptop with a built in of DuoSense N-Trig digitizer (multitouch screen) device. The device and the softwar

  • Screensavers

    I had problems trying to get one of my screensavers to stay for awhile... This problem has just started and I am not very knowledgeable on the computer I was wondering if anyone had any ideas where I'd find the problem and fix it said... Please, plea

  • Results of the stage not listed is not in the report

    Hello. New to TestStand. I appointed a string value test which compares the serial number USE by using RunState.Root.Locals.UUT.SerialNumber. However, when the report is generated, I don't see any results of the step. This only happens with this sequ

  • Problems after installing updates

    I use a Web site on the Internet for over 2 years and have NEVER had any problems with it.  From this weekend (after the first - the who - is - it - now? - four sets of updates for you guys) I started having problems with the site.  I don't know what