Add Instance Subform content to textbox

Hi all,
There is sth I would like to do.
I have a form which has a text field that is in a subform where you can add instances. No problem with pages etc.
Now, I have created a text field where I would like all entries to be repeated as plain text possibly separated by rows.
For example:
Textbox in Subform: Eggs
Textbox 2 in Subform (after clicking the add instance button): Butter
Text box at the end should either say:
Eggs, Butter
or
Eggs
Butter
Does anyone have an idea on how I can achieve this?
Thanks a lot,
Larissa

Hi Paul,
Actually I have several requirements. I have attached the pdf as this seems easier at this point.
At the beginning of the pdf, I have the marks in three boxes. I would like to concatenate them with a comma between the different entries into a text field that users can then copy paste into the next form.
Let’s say in the first box you put:
A
B
C
In the second,
D
E
I would like to have a text box that comes out as: A,B,C,D,E
Second problem I am facing with this task is at the countries.
I have a country online selection and a second country selection.
Ideally I would like to have just one box with all countries and be able to tell the pdf that certain countries have the characteristic “Online”.
Thus if the client clicks on “Add” I would have two list boxes: One for Online and one for Rest. Depending on what the characteristic of the country it would either go into the Online or the Other.
Any ideas on my problematic.
I was thinking working with numbers and maybe telling the system that if it is under 100, move to Box 1, if it is over 100, move to Box 2.
Thanks for your help.
Kind regards,
Larissa

Similar Messages

  • Adding add instance into calculation

    I am trying to get  fields  from  add instance/subform fields to calculate with the rest of the form fields. The problem I am having is once I "add instance" the field is no longer part of the calculation. I have tried using:// Verify at least one instance of the midtr3a field exists.
    if 
    (exists(location.yes900.admids.midtr3a) == 1) then
    Sum(location.yes900.admids[
    *].midtr3a)
    endif
    would appreciate any help on this.
    Thanks K

    I think you do not have to check for whether the field exists or not..Because when you use the "Sum" function, it will check if the field is present and if it has value or not.
    You may directly try the following int he script..
    Sum(location.yes900.admids[*].midtr3a
    Also in your Exists function, you are checking "exists(location.yes900.admids.midtr3a)".. This will only check for the first instance of the field.
    Thanks
    Srini

  • Add instance in a subform which also can be doubled

    Hi,
    I have a subform X which can be doubled by a click on the button. In that subform X there is another subform Y which also can be multiplied to a maximum of 3.
    Now when I add a subform X and i want to add some subforms Y. The form will only add the subform Y in the first subform X and not in the second one.
    This is the script I use:
    for subform x
    if(Incitant52.subFoireAcheteur.all.length < 2){;
    Incitant52.subFoireAcheteur.instanceManager.addInstance(true);
    and for subform y
    if(Incitant52.subFoireAcheteur.subAcheteur.all.length < 3){;
    Incitant52.subFoireAcheteur.subAcheteur.instanceManager.addInstance(true);

    To add instances to the second occurance of subform x you will need to address it with subformx[1].
    Note that the [ ] brackets are not valid in javascript so your expression should look something like this:
    xfa.resolveNode("Incitant52.subFoireAcheteur.subformx[1]").instanceManager.addInstance(1)

  • Subforms within subforms add Instance problem

    Hi
    I am new to Adobe Livecycle Designer (I am using version 8.2.1) but I have successful made nearly all elements of the quite long form I need to produce except for one section I am having difficulty getting it to function correctly. In the example I have a repeating subform ‘Organisation’ on page subform ‘Membership’ which has buttons to add and remove instances, which work correctly. But within each instance of this ‘Organisation’ subform is another repeating instance subform ‘ExpertNames’ with buttons to add and remove instances.
    The ‘Organisation’ form allows an organisation to be named and the ‘ExpertNames’ subform allows multiple members for that organisation to be named and associated to each organisation. The user should be able to list multiple organisations each with one or more members. I can successfully add multiple instances of ‘Organisation’ form one after another using
    Membership.Organisation.instanceManager.addInstance(1)
    and remove the selected instance using
    Membership.Organisation.instanceManager.removeInstance(this.parent.index)
    I have the following set on the button to add a new instance of the ‘ExpertNames’ form
    Membership.Organisation.ExpertNames.instanceManager.addInstance(1);
    and the following to remove the selected instance of the 'ExpertNames' form
    Membership.Organisation.ExpertNames.instanceManager.removeInstance(this.parent.index);
    However when I add a second instance of the ‘Organisation’ form i.e. a new organisation and try and add additional members to the 2nd organisation it adds them to the 1st organisation rather than the second! I have an example of the problem form i can send if needed.
    Hope someone will be able to help with this.
    Many thanks in advance
    Lara

    I still have not been able to find a solution to this does anyone have any ideas?
    I have an example of the problem in a form that I can email.
    Many thanks in advance
    Lara

  • Calculation in an add instance

    I am trying to use an if statement in an addinstance of an interactive form.  Based on the results of one field in the addinstance, I want to sum a different field from the add instance.  So, the customer can add any number of rows and choose from a drop down (coded 1-4) the position of the person.  If that position is 1 or 2, I want to sum the salary field in a calculation box.  If the position is 3, then I want to sum the salary(ies) in a second calcuation box, and if the position is 4, then I want to sum the salaries in a third calculation field.  My code for one of the the calculation field looks like this:
    form1.#subform[8].#subform[9].details.total.conditions.#subform[0].numTotal[
    1]::calculate - (FormCalc, client)
    if (detail[*].PTFT < 3) then
          Sum(detail[*].salary)
          endif
    The other two fields are the same except that they change "<3" to "==3" or "==4". 
    The problem is that it does not sum the second or third calcuation field.  Only my first calcuation field will work. 
    Since it is a rather simple if statement, I think that the problem may be in the subforms, possibly?
    Please see my form at http://www.units.muohio.edu/lifelonglearning/forms/zzztest.pdf
    Thanks in advance for any help you can lend.

    Ok I had a look at your form (nice form by the way ...good job). The expression you are using to determine the number of instances is not correct....as well when you sum the salaries it is the details subform that has th eiccurance numbers so that needs the * notation. Here is the 1st calc modified
    if  (details._detail.count < 3) then
         Sum(detail[*
    ].salary) 
    endif
    You also have the same code on the layout ready and the calc event. No need for both ...just leave it on the calc event and when the user enters the amounts the totals will update.
    You are also getting an error when the row initialize .....a partNoScript is being called becuase of script behind the Name field (itis called txtPartNo in your form). My guess is that you copied this from the Purchase Order sample and forgot to remove the scritp from the Initialize and the change event. This field was originally a DD field and that is what was used to populate it.
    Hope that helps
    Paul

  • Add instance on Read only field issue

    I have a subform with two fields , one a date field to capture current system date and time and another is a Text field for some comments.
    Then there are two buttons ,one for Adding the instance for these two fields and another is a Save button which makes these two fields
    The requirement is that once both the fields are filled with data and i click on save button, the fields should become read only ,however when i click on the add instance button the instance is added successfully but the save button click is not making the new instance read only.
    The Code for Add Instance Button is :
    "New1.FileNote.instanceManager.addInstance(true);
    xfa.form.recalculate(true);"
    The code for Save button to make the fields read only is :
    New1.FileNote.DateTimeField101.access = "readOnly";
    New1.FileNote.TextField37.access = "readOnly";
    Please guide me as I am totally blank on how to code the same..Have a rough logic of using a for loop with index of the Add Instance but not getting the way out for the code.
    Thanks a lot for any help and guidance.

    Hi Steve,
    Thanks for your reply..I made it happen using the for loop with Index and resolve node. However there is another issue which occured after that..I have a date/time field in that repeating subform instance.
    The run time property is set to Current Date/Time. Now the issue is whenever i click on save, form.recalculate instance changes the existing time value in the previous subbform instance as well
    Is there a way to retain the existing value in the field of the previous instance ??
    Regards
    Kapil

  • Add instance before existing instance

    Hello all,
    is there a way to add a new instance of a Subform to show in a top the existing subform? the way it works now when you add a click on button to add a subform, the new subform shows under the exisitng subform and so forth, every time I add a subform it goes to the bottom. I want the opposite to happen where new subforms, always show in the top of old subforms.

    It depends on where you want the subform to actually go.
    Suppose you have a button inside a subform and you always want the new subform to go on top of the entire stack of subforms:
    this.parent.instanceManager.insertInstance(0);
    If you want to add it right above whatever instance you're working on, then this code will work:
    this.parent.instanceManager.insertInstance(this.parent.index);
    Note: You'll need to add or remove reference points depending on what you're using to trigger the event, of course.

  • Add Instance

    In the first image below the user can click on "AC" to add additional lines for comments. When they have completed that they will click on "Add Line" to add a new instance of that line. In the 2nd image the 2nd line is overwritting the additional comments add to the 1st line. How do I position line two and additional lines to occur at the bottom of the additional comments (1 comment or 5+)
    Also I need two more buttons
         1. Will add line and copy the contents of the line above
    `    2. Move line - Up and Down button that will allow the user to reorder the entries.
    Thanks in advance for your help!

    Hi,
    The example has several tables, the last two have add, remove buttons, as well as move button and button to add rows directly underneath (add instance and move it in one click).
    There is an example I did here for someone. https://acrobat.com/#d=HD6XJ1qofZDf713Yq1P43g. From memory the add instance script also copied the rawValue of the "Send to" object to the "Reviewer" object in the new instance. This should give you a direction.
    When it comes to LiveCycle Designer there is no single source with all of the information. Some of the Adobe resources are extremely valuable, but do not make for light reading.
    A good book to start out with is JP Terry's book on LC Designer, which is excellent - "Creating Dynamic Forms with Adobe LiveCycle Designer".
    We have some solutions and blog posts on our website http://www.assuredynamics.com. We are trying to make some of examples more instructional. Also if you go to the blog on our site you will see some other blogs that we strongly recommend.
    There is also a range of online resources. You may find these resources helpful:
    http://www.adobe.com/go/learn_lc_scriptingBasics
    http://www.adobe.com/go/learn_lc_scriptingReference
    http://www.adobe.com/go/learn_lc_formCalc
    http://www.adobe.com/devnet/livecycle/articles/Adobe_XML_Form_Object_Model_Reference.pdf
    http://www.adobe.com/devnet/acrobat/pdfs/lc_migrating_acrobat_xmlform. pdf
    And a very handy resource (and while it is for version 6 it is still very good because of the way it is laid out):http://partners.adobe.com/public/developer/en/tips/CalcScripts.pdf
    The help file also helps with syntax and LC Designer comes with templates/examples.
    Lastly, check out the Developer's Network on http://www.adobe.com/devnet/livecycle/
    Also a book that doesn't deal with scripting at all but is very good on form layout is "Forms that Work" by Caroline Jarrett and Gerry Gaffney.
    The Adobe "PDF Forms Bible" is okay, but mainly focuses on AcroForms.
    Windjack Solutions have a subscription based service for solutions and scripts at http://www.pdfscripting.com. It has a lot of AcroForm script that can be amended to suit LC Designer and a growing library of LC Designer solutions.
    Hope that helps,
    Niall

  • Error to install Add-On BI Content (TCode SAINT)

    I am trying to install "BI Content" from Tx SAINT but I get the following message
    The installation was stopped, since an error occurred during the phase CHECK_REQUIREMENTS, which the Add-On Installation Tool is unable to
    resolve without your input.
    After you have corrected the cause of the error, continue with the import by choosing Continue in the queue display.
    The following details help you to analyze the problem:
    - Error in phase: CHECK_REQUIREMENTS
    - Reason for error: QUEUE_NOT_EMPTY
    - Return code:
    - Error message:
    Notes on phase CHECK_REQUIREMENTS
    Not how to solve this problem in order to complete the installation, someone can give me some information about it.
    I do not have any connected system, I have just finished installing "BW"
    I'm doing at the moment the same configuration, so that they can the Client Copy and then connect with R3
    check the "TCode RSA7" and this is empty, which may be more?
    I do not want to have to reinstall.
    This installation was done on a machine that was running BW 7, but due to problems blocking accounts are uninstall. It was possible to make a new facility but presents the problem that leaves no install "Business Intelligence Content 7.03" I'm doing as the "Note 916834 - BI_CONT 7.03: Installation and upgrade information" through the "TCode SAINT", but achieving do this does not help anything installation.
    The operating system is Windows 2003 Server and the database SQL Server 2000!!
    After the test load "Add-On BI Content", try loading the corresponding Support Packages and tells me the same mistake, try to do that from the TCode SPAM, someone can give me some indication on how to solve this problem at the moment I am unable to BW work.
    C:\usr\sap\BWD\SYS\exe\uc\NTI386>tp
    This is tp version 370.00.09 (release 700, unicode enabled)
    EXPORT: tp export <TR> export <TA>
    IMPORT: tp import <TR>|ALL <SAPSID> import <TA> into <SAPSID>
    PUT: tp put <SAPSID> put of SID
    Utility function:
    tp addtobuffer <TR> <SAPSID> add <TR> to buffer of <SAPSID>
    For more information call tp with argument 'help'
    tp returncode summary:
    TOOLS: Highest return code of single steps was: 0
    ERRORS: Highest tp internal error was: 0203
    tp finished with return code: 203
    meaning:
    wrong syntax in tp call
    Log to the load:
               Installation/Upgrade of the Add-on BI_CONT rel.703 (21.07.2008, 17:09:27)
               The current OCS Queue consists of:
                  001: SAPKIBIIIH - Installation Package for BI_CONT Release 703
               Display notes, which should be considered before the start of the import
                 Note 916834 for OCS Package SAPKIBIIIH (Password is required)
               Correct password for OCS Package SAPKIBIIIH, note 916834 was given
               Saving the current OCS Queue (21.07.2008, 17:09:58)
                  001: SAPKIBIIIH - Installation Package for BI_CONT Release 703
               Import of the current OCS Queue (21.07.2008, 17:09:58)
               The current OCS Queue consists of:
                  001: SAPKIBIIIH - Installation Package for BI_CONT Release 703
               Import phase 'PROLOGUE' (21.07.2008, 17:09:58)
               Import phase 'PROLOGUE' was successfully finished (21.07.2008, 17:10:00)
               Import phase 'CHECK_REQUIREMENTS' (21.07.2008, 17:10:00)
               The tp buffer contains old, not completely processed OCS Packages
               Interrupt the import due to an error situation (21.07.2008, 17:10:02)
               Display detailed informations concerning the error in phase 'CHECK_REQUIREMENTS'
               Abort the import due to an error situation (21.07.2008, 17:10:09)
    thanks
    Edited by: Manuel Sandoval on Jul 21, 2008 9:38 PM
    Edited by: Manuel Sandoval on Jul 21, 2008 10:12 PM

    Try reset the queue status then delete the queue.  I think you can use SPAM for this, not sure if SAINT has the ability to do it.
    Aftewards, try:
    1.  Lock all users in your system, cycle the system to ensure all users are logged off.
    2.  Disable the batch user as well, to make sure no jobs are running.
    3.  Backup the input buffer file (should bein the trans\buffer folder).  After backing up the file, delete the file.
    4.  Goto STMS and check the import buffer, press F5.  The buffer should be empty now.
    5.  Return to SAINT and reimport the component, it should be successful now.

  • How can I back up my I Tunes library to an external hard drive?  Also how do I add my new content to the back up?

    How can I back up my I Tunes library to an external hard drive?  Also how do I add my new content to the back up?

    See this User Tip.
    tt2

  • Path issue leaving me unable to add blog post content in design view

    Hi guys,
    I am unable to add blog post content in design view when a template is applied to my blog. BC support have told me they fixed the problem by making minor changes to the paths of the css and javascript files and then told me to post on here for the solution.
    When I call the files using <link rel="stylesheet" href="/css/custom.css" /> everything displays perfectly but in BC I can't add blog post content in design view. I can edit in html but this isn't ideal for clients to update the blog.
    If I change the paths to <link rel="stylesheet" href="css/custom.css" /> it fixes the problem and I can then edit blog content in design view but all blog pages that are in folders display incorrectly. Only the main blog page display properly.
    I'm sure the answer is simple but I can't find it so any help would be greatly appreciated. Thanks
    Pete

    I took a look at your page URL and can't find any CSS issues or styles that would directly affect you editing/adding content to a blog post via the content editor.
    Make sure you either clear your cache or try in another browser to see if the problem is localized to your current browser.
    If you still have the problem can you link me to a screencast (you can use Jing if you don't have a screencast program: http://www.techsmith.com/jing.html) of what you are experiencing?

  • Is it possible to add a string inside a textbox with a value of another textbox for Acrobat Forms?

    Is it possible to add a string inside a textbox with a value of another textbox?
    ex.
    Textbox1 = Happy
    Textbox2 = Sad
    Textbox3 = "I am Happy therefore I am not Sad"
    "I am (value of textbox1) therefore I am not ( value of textbox2)"

    Use this code as the custom calculation code of Textbox3:
    event.value = "I am " + getField("textbox1").value + " therefore I am not " + getField("textbox2").value;
    Notice that the field names are case-sensitive.

  • How to add and delete content on device from iTunes

    I cannot find the way to add and delete content on my devices from the new iTunes. I don't understand why they changed the way it worked without any tutorials or hints at how to use the new iTunes app. I can see my device, I can see that music is on there, but I cannot unselect songs or content to get rid of it. Also, my apps do not show up on the apps list, I can see the screens with the apps on them and can delete them from that but the list is not working. I am using Yosemite and iTunes 12.01

    If you select your device in iTunes then on the left-hand side of iTunes you should see a Settings heading with categories below it which you can use to select what to sync from your iTunes library to the device, and below that an On My Device heading with categories below it listing what is on the device.
    For the Apps tab, the listbox of apps on my Mac's iTunes doesn't always populate until I've scrolled up/down the window. If yours doesn't populate then you have your apps downloaded and stored in your Mac's iTunes library - the listbox shows what you have in your computer iTunes library, if your library is empty then the listbox will remain empty.

  • How can I add the audio content cd after logic finished installing ?

    There was an eror installing the Audio Content CD 1 and I did not notice. Everything else installed properly, Audio Content CD 2, Jam Pack, but how can I add the Audio Content CD1 after Logic has finished installing?
    If you can help me please be very specific as to how to do it so that I can follow the directions properly.
    Please help me.
    Thanks

    Hi
    You could re-run the installer, or, once you have updated to Logic 9.1.8 you could use the "Download Additional Content" function in the Logic Pro menu. It will tell you what is installed and what is incomplete.
    CCT

  • How to add an existing content database to new Site collection

    Hi All,
    Can anyone help to figure out how can I add existing content database to a new site collection in SharePoint 2013 foundation.
    We have more than 40 site collections under one web application, and only one site collection is returning 404 error. When checked in the central admin to view all site collections, the details on the right side of the site is not visible, and unable
    to delete it. The database is not corrupt, as I tried to add the same content database to a new web application, and it works perfectly in a new web app.
    As we couldn't find any solution, the only option we thought of was to blow the site collection and create a new one and add the exisiting database, but I am unaware as to how can I add existing database to new create site collection. Can anyone help
    me with this please?
    Regards,
    DJ

    It's working....
    The current database was corrupt I guess, (not sure though). Took old backup file and tested to see if it's working. After the test was successful...
    Removed the current database in CA
    Delete the current database in SQL server
    Restored the working backup file in SQL server
    Added the content db in CA
    That's it... the site collection is working now...
    Regards,
    DJ

Maybe you are looking for