Spawning pages from entries in a list box with entry text as title

The background: I have a form with a list box which a user can populate with their own text via a text box and an 'add' button. This works fine.
I've just added a template page with different content and 'spawn' button. This also works fine.
The task: What I want to be able to do is use the entries in the list box from page 1 to spawn the same number of pages as entries and also populate a field in each newly spawned page with the name of the corresponding entry (to act as a title).
How do I go about coding this?
Current spawn code:
var t = this.templates;
var T = t[0];
var XO = T.spawn(this.numPages, false, false);
for (var i=0; i<m; i++) T.spawn(this.numPages, false, false, XO);

This script will spawn pages depending on the number of items in myComboBox:
     var f = this.getField("myComboBox");
     var expTplt = getTemplate("tpltExpenses");
     for (var i=0; i<f.numItems; i++){
     expTplt.spawn(this.numPages,true,false);
I'm not sure how to auto fill the text fields on the spawned pages though.

Similar Messages

  • Enable spawn pages from template

    Hi all,
    I have a fill-in PDF form (created in Acrobat Pro X) that uses a javascript button to duplicate pages (spawn pages from template).  We got a trial version of LC Reader Extensions ES in order to enable the button to function in Reader.  The problem is, as I understand it, when our evaluation period runs out, the button will stop working in Reader.  Is this true?  The form will be distributed to LESS THAN 500 people- we just want this button to work for everyone.  Is there another way to enable users of Reader to spawn pages from template?
    I don't believe that purchasing the software is an option, as the Adobe Rep on the phone said it would be $10,000 per form. Any help is greatly appreciated.
    Thanks!

    Sorry, but the functionality you are looking for is not available with the limited Reader Eextensions capability available within Acrobat.  Reader Extensions has a set of rights, and the following rights are available only through the server product (LiveCycle Reader Extensions).  These specific rights are:
    2 - Form Data Import/Export
    5 - Spawn Pages from templates (for PDF page forms, as opposed to XFA dynamic forms)
    9 - Barcoded form data unencrypted
    10 - Browser-based annotations (note that this capability is being deprecated for use with Reader)
    11 - Web services or ODBC access from the form
    12 - Embedded File actions
    [Acrobat enables basic form fillin, signatures, and annotations, as well as the ability to save the document after the data fillin or action has been done]
    In your case, you either need to get a LiveCycle Reader Extensions license or move yourself to LiveCycle Designer-based forms where dynamic forms may do what you'd like.
    I'd suggest a deeper discussion with your salesperson.

  • "Dynamic List Box with Single Selection" Survey Suite in CRM 6.0

    Hi
    I am using CRM 6.0. There in Survey Suite there are 2 answering options "Dynamic List Box with Single Selection" & "Dynamic List Box with Multiple Selection". I am able to make out, how we can assign values to this. I have seen example "Example_Dynamic_survey" also.
    I believe we have to use programming for populating this. But how do we have to carry that out.
    Thanx and Regards
    Hitesh

    Hi Hitesh,
    There is no need of programming for populating values for Answer category 'List Box with Single Selection' or 'List Box with Multiple Selection'. You have to follow the following steps to populate values for those:
    - In the Answer Category select List Box with Single Selection from drop down list
    - Then on left hand side tree, right click on Answer and select Insert Answer Option (Answer->Insert Answer Option)
    - Then on right side, provide Text for the answer (value)
    - To add more values, repeat the process Answer->Insert Answer Option and providing text for those answers in the right side.
    Similarly you can populate values for 'List Box with Multiple Selection' also.
    This has to be done in the transaction CRM_SURVEY_SUITE.
    Hope this is clear to you
    regards
    Srikantan

  • Selection screen list box with run time values

    Hi,
    I have to create a selection screen list box with with values at run time.
    This is actually for a maintanence view.
    Please help.
    Thanks
    Vimalraj

    Have a search in SDN and elsewhere for the function module 'VRM_SET_VALUES'... for example there's one at:
    Re: Listbox with Function code in Table control
    wherein the 2nd listbox contents are driven from the option selected in the first listbox.
    Jonathan

  • How to add a list box with values for a ztable in SM30

    Hello Gurus,
                    I had created a table maintenance for Ztable and added many extra functionality to that. Now i would like to add a list box or check table for a field. Can i do that with out Regenerating my table maintenance. Please help me its..very urgent.

    Have referred this domain to the data element, this should be the Field type in ur table for the particular field.
    Eg: <b>SE11 > table name > fields-ZTEST > fieldtype-ZZTEST</b>
    ZZTEST in the data element > create a domain for this data element and in that specify teh value range.
    Save and activate it.
    Make sure that u regenerate teh table maintenance generator else u cant see the changes.
    Now if u press F4 u can see only thevalues specified, also u will see only the list box with values in SM30.
    Try this,please let me know if u face any difficulties.

  • Page from Sample - Mobile Starters - jQuery Mobile with theme not working on mobile

    I created a new webpage - New - Page from Sample - Mobile Starters - Jquery Mobile with Theme and did not modify it.
    That does not work on an iPhone or Android.
    What am I missing? Is there an update to make the jquery mobilesite work?
    This is how it looks in dreamweaver
    http://ricston.com/push/test/screenshot_dreamweaver.png
    This is how it looks on my phone:
    http://ricston.com/push/test/screenshot_galaxy.png
    The page for the template is here http://ricston.com/push/test/test.html - As you can see, nothing has been changed.

    Thank you.  I was having the exact same problem.  I even upoaded the unmodified starter page, just in case it was something I did.  Inserting the viewport line fixed it.  (Now I need to go back and insert that line into each of the pages I was working on.)
    The question remains, however, as to why the mobile starter pages don't include that line in the first place.
    [edit] FYI - On Dreamweaver CC, it's under the "common" group within "insert".  (I would have expected it under "JQuery Mobile", but it's not there.)

  • How to capture the selected values from module pool dialog list box !

    Hi experts,
    Can anyone help me out in capturing the values from the list box.
    i am able to set the values in the list box.But i am not able to capture the selected value from the list box. Always the list box name is getting as "space"
    I also tried in using the FM "VRM_GET_VALUES" but it is retireving all the values. Is there is any flag for filttering out the selected value.
    Your inputs are appreciated.
    Thanks,
    Vijay.

    Along with the PBO and PAI event, add a POV event in the flow logic of the screen
    DEMO_DROPDOWN_LIST_BOX -is a good demo example.
    PROCESS ON VALUE-REQUEST.
    FIELD structure_name-field_name MODULE create_dropdown_box.
    In the report :
    MODULE create_dropdown_box INPUT.
      SELECT carrid carrname
                    FROM scarr
                    INTO CORRESPONDING FIELDS OF TABLE itab_carrid.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield        = 'CARRID'
                value_org       = 'S'
           TABLES
                value_tab       = itab_carrid
           EXCEPTIONS
                parameter_error = 1
                no_values_found = 2
                OTHERS          = 3.
      IF sy-subrc <> 0.
      ENDIF.
    ENDMODULE.
    In the layout, assign a Function Code , for eg : 'SELECTED' to the listbox and lets say name of the field is SDYN_CONN-CARRID. So in the PAI module,
    MODULE user_command_0100 INPUT.
      CASE ok_code.
        WHEN 'SELECTED'.
          MESSAGE i888(sabapdocu) WITH sdyn_conn-carrid.
      ENDCASE.
    ENDMODULE.
    sdyb_conn-carrid will contain your selected field

  • List Box with Variable Entries in a Table Control

    Hi ,
       I have a requirement where a certain column F of the table control should be designed as dropdown list box. The problem is, i have to populate different entries for field F in each row of the Table control.
                                       Field List
    First Line -                   A,B,C
    Second Line -              A,B
    Third Line     -             A
    Is it possible in ABAP to achieve this . I should not use an input help. Can i achieve this with Drop down list ?
    Regards,
    Krishna Chaitanya . A

    Hi Priyaranjan,
    Assoon as you enter records and save it it gets saved , that is ok , but when you do scroll system goes to PAI , so you need to chk the value of ok_code when scroll button is pressed and write the code according to that .
    more over you need to increase the number of lines that can be displayed in a particular table control .
    Try this it may help you .
    <i>Reward points if helpful.</i>
    Regards,
    Amber S

  • Multi Selection from a List Box to a Text Box

    So I want to be able to make Multi Selections within List box and export it to the Text box. Right now I have a Script running on the cal of the Text Box
    event.value = getField("LISTBOX").valueAsString;
    Which is able to do one selection but I cant find anybody that can grab two selecitons and put into a text box with commas for something. Is there a way to do this?
    -Zach

    Wow over my head a little. I understand what an array is with script but not how to write the script to handle it. I made this:
    event.value = getField("LISTBOX").value;
    But still no change in the behavior with multi selections. Example below if you want to check it out.
    https://dl.dropboxusercontent.com/u/2944617/formtext2.pdf

  • List Box With Writing Facility

    Hello Experts ,
                            I want to create a list box in selection-screen with input facilty,
                            i.e i should be able write in that list box just in case of parameters , right now
                            i'm able to select values from drop down only .
                            in short it should just work like command field in screen , where we can write t-code
                            or select t-code from drop down .
    Regards
    Ajit

    Hi ajit,
    without logging onto system and creating a sample, I can tell you what online documentation says about [Using a Different Search Key|http://help.sap.com/saphelp_nw70/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm]
    READ TABLE itab WITH KEY k1 = f1 ... kn = fn result.
    The search key consists of arbitrary table fields k1 ... kn. If you do not know the name of a component until runtime, you can specify it dynamically as the content of a field n1 ... nn using (n1) = f1 (n2) = f2 .  If n1 ... nn is empty when the statement is executed, the search field is ignored.
    That means that for the READ TABLE statement you should use a number of key specifications not less than the possible maximum and then dynamically fill the key variables and key values.
    Do not forget to clear before you do the next read for another table.
    Hope it works.
    Also, this is SAP NetWeaver 7.0, I think dynamic key specification was not possible earlier.
    Regards,
    Clemens

  • Need help with dependent lists boxes with ADF.

    Hello,
    I am doing a project that use tree dependent list boxes.
    Ex. State---->
    College---->
    List of courses of the college chosen above----->
    The way this should work is when I select the state automatically I want it to change to the correspondent list of colleges of that state and after i choose the colleges I want to be able to get all the courses that are given in that college.
    To implement the first two list boxes I create tree views on JDeveloper and and using SelectOneChoice for both State and Colleges. In the binding editor I bind the first View with the second and then the second view with the third and at this point if I execute the first SelectOneChoice would give me all the state and the second SelectOneChoice would give me the list of all the colleges that exist.
    Now on the third view that I create a binding variable and i put a Where state=:TheBindingVariable on the query.
    Also I set the first SelectOneChoice the outoSubmit property to true, id to StateId and PartialTrigger property to CollegeId.
    On pageDef.xml in the bindings I create action form where I select the third view from Date Collection and select Action as ExecuteWithParams. And I set the value under the parameters section to #{bindings.state.inputValue}.
    Under executables still in pageDef.xml I create a invokeAction and I set binds = ExecuteWithParams.
    On first SelectOneChoice on the ChangeValueListener i create a new ManageBeans which generate me a java class and I create a new method as well to use it to change the binding variable on the second SelectOneChoice.
    Here is the method:
    public void Change_StateId(ValueChangeEvent valueChangeEvent) {
    String StateId;
    valueChangeEvent.setPhaseId(PhaseId.INVOKE_APPLICATION);
    FacesContext adi = FacesContext.getCurrentInstance();
    ValueBinding vb = adi.getApplication().createValueBinding("#{bindings}");
    DCBindingContainer bc = (DCBindingContainer)vb.getValue(adi);
    if(valueChangeEvent.getNewValue().toString().equals("0")){
    StateId = "MA";
    OperationBinding opBindingCollegeLovIter = (OperationBinding) bc.get("ExecuteWithParams");
    opBindingCollegeLovIter.getParamsMap().put("TheState",StateId);
    opBindingCollegeLovIter.execute();
    }else{
    DCIteratorBinding statesLovIter = (DCIteratorBinding) bc.get("CollegeProvaView1Iterator");
    Row rw = statesLovIter.getRowAtRangeIndex(((Integer)valueChangeEvent.getNewValue()).intValue());
    StateId = (String) rw.getAttribute("State");
    OperationBinding opBindingCollegeLovIter = (OperationBinding) bc.get("ExecuteWithParams");
    opBindingCollegeLovIter.getParamsMap().put("TheState",StateId);
    opBindingCollegeLovIter.execute();
    I don't know what I have done wrong because I am new in this field and a little support would be really helpful.
    I am using JDeveloper 10.1.3.1.0 and Oracle SOA Suite 10.1.3.1.0.
    I would appreciate any help.
    Thanks a lot.

    user8116089 wrote:
    For some reason the first selectonechoice doesn't give me all the states that are in the database it gives me just the first 10.check the value of RangeSize for itarator in pageDef. in this case to show all items it must be set to -1
    Also there is a way to assign the first value of the first selectonechoice to null at the start.this is a problematic requirement since all items are bound to iterator and basically this should serve for navigation purpose so the first item is set as selected, but maybe some workaround exists...
    regards,
    Branislav

  • Pre pouplating selectone list box  with data

    hello friends, im very new to jsf programming
    I have one requrement like this.
    In one jsp page there are many select boxes (jSF components).
    and there is one backing bean corresponding to that jsp page.
    I want to pre populate the select boxes with the data, from the database.
    I dont know howand where to set the values to these select boxes.
    please help me friends.
    Thanks in advance.

    You can pre-propulate the bean anytime before you attempt to build the page (on which the select boxes are on).
    Use an action method, action listener, or even the beans constructor to populate the bean.
    There are a few other times/ways you can pre-populate the bean, but they are more special cases.
    Most people will use the beans constructor. It's the simplest and most straight forward way (plus, that's what a constructor is for... populating your Object with defaults). You can make your DB calls from within the constructor.
    CowKing

  • Every time a page loads, I get a small box with the number 2 in it and ok in it.

    The small box has OK and it has a button that says "ok". I can click on the ok and it disappears, but the next page that loads, it comes back again.

    Tony E.
    I clicked on the link you provided me and I have tried all options but nothing has helped. I actually got another window that says "prevent this page from creating additional dialog" with an OK button on the bottom. I clicked ok, then the other window comes up for awhile. Occasionally, the prevent this page comes up.

  • Initialize list box with array

    Hi ,
    I am hoping someone can help me with this one :
    I have an array of string (1- D).
    i want each element in the array to be a line in the list box.
    Thanks in advance to anyone that can help .
    Asaf

    You can do it with a property node, see the attached VI.  There may be other ways but I've done it this way for myself in the past.
    Hope this helps.
    -Dave
    Attachments:
    Array into listbox.vi ‏16 KB

  • My MacBook Air version 10.9.2 can no longer open Pages.  It has a gray box with a ? in the center of it.

    How to open pages when it has a gray box for the app with a ? in it

    Hi there Rivercity9,
    You may need to remove an reinstall Pages. Take a look at the article below for more information.
    OS X Mavericks: Install, update, and uninstall apps
    http://support.apple.com/kb/PH14299
    -Griff W.

Maybe you are looking for

  • Customizing / creating new dunning letters

    Hi all, It seems as if this process has changed since previous posts on the forum. I want to create a new dunning letter (from a current one) that has the company logo etc. on it - how do you get the system to use the new letter template?? I have cre

  • Record parameters in log file

    Hi All, I am working on ICSS application. I intend to record a few parameters in the log file (defaulttrace as well as applications log). I have added a few lines in the action class such as log.error("xyz"+xyz); The code is getting executed, however

  • NI UMI-7772 and third party Stepper Drives

    Dear all Now we want to control a stepper motor with voltage ratings up to 110 V and 0.5 A at 110 V  we have the 2 Axis PCI-7342 motion controller and the NI UMI-7772 Terminal block for third party motor drives please advice , what is the suitable th

  • Ugrade from Photoshop Album 3.2

    Hello, I  still use Adobe Photoshop Album 3.2 Starter Edition and think of upgrading to Photoshop Elements. If I do so, is the database of Photoshop Album (Tags, Albums,...) still available and usable in Elements? Am I loosing information available i

  • Materialized view, problem in selecting a particular field

    Hi, can anyone please help me with this issue. I have table which contains data for 3 different years. It usually contains data for the current year, the next year and the previous year i.e the calender current year. YEAR TL JN Q 2006     1 1 30 2007