How to have a unique list of items for separate dropdown lists?

Software: Acrobat X (10) pro on Windows
I want to create a pdf form in which all dropdown lists are populated with the same list of items to choose from. If I use the same field name for all drop down lists, the item selected in one dropdown list is automatically selected in all lists. This is not what I want. I wish to be able to select a different item in each & single dropdown list. I could of course maintain separate item lists for each field (using separate field names) but what a waste of time!... especially as the field lists would then have to be updated separately. There's got to be a better way to do it.
Any idea how this could be achieved? Thank you.

Here's a sample script that first defines a list of items in an array and uses it to update a number of dropdowns, name dd1...dd10:
// Populate an array with the list items
var aItems = ["-- Select a state --", "Alaska", "Hawaii", "Washington", "Oregon", "Idaho", "Montana", "Wyoming", "Nevada", "Colorado", "Arizona", "New Mexico"];
// Loop through the dropdowns...
for (var i = 1; i < 11; i += 1) {
    // ...and set the list items
    getField("dd" + i).setItems(aItems);
That's all there is to it. This can be run from the Mouse Up event of a temporary button that you create, the interactive JavaScript console (Ctrl+J), etc.
More info on setItems: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.752.html

Similar Messages

  • How do I rearrange the order of items in a reminder list?

    How do I rearrange the order of items in a reminders list?

    ICal Reminders won't sort on the actual device it was intended for - the Iphone
    I just talked to Apple Express service over this problem.  I went to the trouble of transferring my to-do list onto icloud Reminders - where each item asked for a priority ranking and where you are then given options for how to sort  all the Reminders you entered - so that it can actually be useable as any Calendar/time management system would be.   I chose "by priority" of course, but you can also choose alphabetically, etc.  It must be said, at least to Apple, apparently, that the point of doing all this is so that the Reminders are available on your actual device - my iphone.  The Reminders all synced immediately to the Iphone.  However, the Reminders list is an unsorted jumble on my iphone.  Even when I tap out a Reminder on my iphone itself and choose a priority, the item remains at the bottom of the list as the last thing I typed in.  Apple Express Support "explains" that the priority ranking and the sorting choices are "not supported" on the device you want to use them on - the iphone.   They offered me "an article" that explains this in detail.   In other words, engaging with the Reminder function and choosing priorities and choosing sort orders is all just a cruel joke wasting your time.  I would have been better off just printing off my Reminders list on paper and circling the high priority items in red ink.  Oh - but you can't print it out either.
    Unbelieveable.  Apple's ICal Reminder function actually and actively leads you to engage with completing details and choices that don't even function, or in other words - aren't "supported" on the Apple device they are stated to be designed for.  Is there a device on which this function is actually supported?  "Not at this time"
    The only way to have your to-do list sorted on the iphone is to assign a calendar date for each one of them and then they only appear on that specific date.  You would not be able to view your whole list in anything other than the order you happened to enter the items.  No calendar/time management system I know of makes you put a date on every item in a  task list - some tasks have a due date, but most don't.  And every calendar/time management system allows you to sort your list, or view your list in a sorted order.   And print it out also.
    Apple advertises this Icloud Ical/Reminders system as a time managment tool and fails to tell us that vital functions don't even work on your iphone.

  • How to avoid duplicate posting of noted items for advance payment requests?

    How to avoid duplicate posting of noted items for advace payments request?

    Puttasiddappa,
    In the PS module, we allow the deletion of a component pruchase requisition allthough a purchase order exists. The system will send message CN707 "<i>A purchase order already exists for purchase requisition &</i>" as an Iinformation message by design to allow flexible project management.
    If you, however, desire the message CN707 to be of type E you have to
    modify the standard coding. Doing so, using SE91, you can invoke the
    where-used-list of message 707 in message class CN, and to change the
      i707(cn)
    to
      e707(cn)
    where desired.
    Also, user exit CNEX0039 provides the possibility to reject the
    deletion of a component according to customers needs e. g. you may
    check here whether a purchase order exists and reject the deletion.
    Hope this helps!
    Best regards
    Martina Modolell

  • Dummy parent item that displays dropdown list in smartphones

    Does anyone know how to create a dummy parent that will display the child items in the dropdown list? Or do you have to create an actual page for all parent items? I don't have a smartphone so I can't experiment (is there an online site that provides this service, similar to the no-defunct Device Central?)...

    Does anyone know how to create a dummy parent that will display the child items in the dropdown list?
    What do you mean by a parent item? Do you want to create a navigation or just a simple dropdown list? If it is a dropdown list, why are you talking about an 'actual page' for it? Please elaborate your question to help us help you. Thank you.

  • Strange item in desktop dropdown list after CS4 installed

    Since installing CS4, there is a new item in the dropdown list when I
    right-click on my desktop
    The new item is "Adobe Drive CS4". It has two items showing under it. They
    are "Connect to", and "New Project". The "New Project" is greyed out, even
    when Photoshop CS4 is running.
    Can anyone advise me what this is all about?? CS3 is still installed, but I
    will be removing it shortly. But it did not create any such item in the
    list.
    Ron Hirsch

    OK, so I now know what it is. But why is it there in the dropdown listing?
    If I click on "connect to", a small window opens, And, this last time that
    the window opened, it actually had text in it explaining what you did
    explain. Previous times had nothing in the box explaining anything.
    I don't feel I have any need for Version Cue or Adobe Drive CS4, but I see
    no way to change anything there. I did not install Verson Cue when I
    installed CS4. I don't see it in my Windows services listing, nor in the
    list of many startup items. I'd like to uninstall Adobe Drive CS4. I see a
    listing the XP programs window of "Adobe Drive CS4". But I see no path to
    get rid of that. Is there a path to do so?
    A new search in Google turned up the following
    ++++++++++++++++++++++++++++
    Any of you who have installed Adobe CS4 will know you will get a context
    menu entry for Adobe CS4 Drive, even if you chose not to install the actual
    program so effectively the entry is useless. After some googling and
    experimenting found two ways to remove it.
    1. Install & Uninstall
    Install Adobe CS4 Drive using the installer then uninstall it. This seems to
    get rid of it.
    2. Manual Remove
    Open Regedit and delete these two entries.
    HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\{C95FFEAE-A32E-4122-A5C 4-49B5BFB69795}
    HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\{C95FFEAE-A32E-4122-A5C 4-49B5BFB69795}
    +++++++++++++++++++++++++++++++++
    I'll probably do the Registry editing
    Ron Hirsch

  • No matching unique or primary key for this column-list --error

    CREATE TABLE CUSTOMER(CUS_NUM NUMBER(10) PRIMARY KEY,CUS_NAME VARCHAR2(50),ADDRESS VARCHAR2(50));
    CREATE TABLE ITEM(ITEM_NUM NUMBER(10),ITEM_DESC VARCHAR2(50),TYPE VARCHAR2(50),ITEM_STATUS VARCHAR2(50),
    CONSTRAINT PK_ITEM PRIMARY KEY(ITEM_NUM,TYPE));
    CREATE TABLE ITEM_TYPE(TYPE VARCHAR2(50) PRIMARY KEY,TYPE_NAME VARCHAR2(50),SKU VARCHAR2(50),RATING VARCHAR2(50));
    CREATE TABLE ORDERS(ORDER_NUMBER NUMBER(10),CUS_NUM NUMBER(10),ITEM_NUM NUMBER(10),ORDER_POINT VARCHAR2(50),DISPATCH_POINT VARCHAR2(50),
    PRIORITY VARCHAR2(50),ORDER_STATUS VARCHAR2(50),
    CONSTRAINT PK_ORDERS PRIMARY KEY(ORDER_NUMBER,ITEM_NUM),
    CONSTRAINT FK1_ORDERS FOREIGN KEY (CUS_NUM) REFERENCES CUSTOMER(CUS_NUM),
    CONSTRAINT FK2_ORDERS FOREIGN KEY (ITEM_NUM) REFERENCES ITEM(ITEM_NUM));
    Hi,friends i created tables as above when i creating 'ORDERS' table the error will fir as "ORA-02270: no matching unique or primary key for this column-list".
    can any body solve this issue.
    Cheers,
    Sudhir reddy.

    For your own sanity, you should learn to format your code, or use a tool to do it for you. For the sanity of the forum members, you should preserve that code using the \ tagsCREATE TABLE CUSTOMER
    CUS_NUM NUMBER(10) PRIMARY KEY,
    CUS_NAME VARCHAR2(50),
    ADDRESS VARCHAR2(50)
    CREATE TABLE ITEM
    ITEM_NUM NUMBER(10),
    ITEM_DESC VARCHAR2(50),
    TYPE VARCHAR2(50),
    TYPE is a reserved word.  Call it ITEM_TYPEITEM_STATUS VARCHAR2(50),
    CONSTRAINT PK_ITEM PRIMARY KEY(ITEM_NUM,TYPE)
    CREATE TABLE ITEM_TYPE
    TYPE VARCHAR2(50) PRIMARY KEY,
    again, with the reserved word.TYPE_NAME VARCHAR2(50),
    SKU VARCHAR2(50),
    RATING VARCHAR2(50)
    CREATE TABLE ORDERS
    ORDER_NUMBER NUMBER(10),
    be consistent.  NUM or NUMBER.  Pick one and stick with it.CUS_NUM NUMBER(10),
    ITEM_NUM NUMBER(10),
    ORDER_POINT VARCHAR2(50),
    DISPATCH_POINT VARCHAR2(50),
    PRIORITY VARCHAR2(50),
    ORDER_STATUS VARCHAR2(50),
    CONSTRAINT PK_ORDERS PRIMARY KEY(ORDER_NUMBER,ITEM_NUM),
    CONSTRAINT FK1_ORDERS FOREIGN KEY (CUS_NUM) REFERENCES CUSTOMER(CUS_NUM),
    CONSTRAINT FK2_ORDERS FOREIGN KEY (ITEM_NUM) REFERENCES ITEM(ITEM_NUM)

  • How to have more months and years appear for selection in the archives for blog posts?

    Hello,
    How to have more months and years appear for selection in the archives for blog posts?  It just shows past 3 months in the year 2014, but we have many blog posts in years 2013, 2012 and 2011 and further back.  I am using the OOB SharePoint blog
    feature.
    Paul

    Hi,
    Thanks for the reply; it doesn't add anything as RSA6 was one of the options I listed and this was my fall back option if there was no other special treatment for the COPA datasources.
    I have found out why this, and other fields, are not available in KEB0.  The program uses a Function called KERA_COPA_METADATA_INTERFACE within which there is a section that selects the COPA fields:
    ***** 1. RULES (choice/class)
    * set rules for fixed fields
      PERFORM COPA_SET_RULES_FIXED_FIELDS USING I_ACCTCOST
                                          CHANGING E_T_RULES[].
    When you look at this code section there is a hard coded list of fields to exclude:
      MRULE 'MANDT     ' NEVER FORGET_IT NEVER FORGET_IT.
      MRULE 'PAOBJNR   ' NEVER FORGET_IT NEVER FORGET_IT.
      MRULE 'PASUBNR   ' NEVER FORGET_IT NEVER FORGET_IT.
      MRULE 'PAPAOBJNR ' NEVER FORGET_IT NEVER FORGET_IT.
      MRULE 'PAPASUBNR ' NEVER FORGET_IT NEVER FORGET_IT.
      MRULE 'HRKFT     ' NEVER FORGET_IT NEVER FORGET_IT.
      MRULE 'HZDAT     ' NEVER FORGET_IT NEVER FORGET_IT.
      MRULE 'USNAM     ' NEVER FORGET_IT NEVER FORGET_IT.
      MRULE 'RKESTATU  ' NEVER FORGET_IT NEVER FORGET_IT.
      MRULE 'TIMESTMP  ' NEVER FORGET_IT NEVER FORGET_IT.
      MRULE 'PERDE     ' NEVER FORGET_IT NEVER FORGET_IT.
      MRULE 'PERIO     ' OBLIGATORY CHAR_CE3 OBLIGATORY CHAR_CE3.
      MRULE 'COPA_AWTYP' NEVER FORGET_IT NEVER FORGET_IT.
      MRULE 'COPA_AWORG' NEVER FORGET_IT NEVER FORGET_IT.
    As this is a standard delivered SAP function I do not recommend that you change this code as you will invalid your SAP support and upgrade paths.
    Thanks
    Neil

  • How can I add a new line item for production order?

    HI all,
    How can I add a new line item for production order through BAPI/FM? Thanks in advance.

    Hi Mil,
      Unfortunetly SAP is not in front of me.
    But if possible go to BAPI transaction , check for any production order's bapi for CHANGE purpose. Where you will be able to add your new line.
    Reward if useful!

  • We have adobe suite and want to own separate items for separate individuals for portion of the suite is this ok?

    We have adobe e-learning suite license and want to own separate items for separate individuals for portion of the suite is this ok?  the primary owner doesn't utilize the photoshop person but we want to let someone else in our group utilize that portion

    no, only the licensee is legally allowed to use their purchased product.

  • How to have a unique requestId for a Page for multiple users

    Hi,
    Can someone please tell me how to get a unique RequestId whenever a page is visited. I need to have a unique RequestId generated for each user if they are on some specific
    page. Whenever a users refreshes a page or come to the page by clicking back button want to have a unique requestId always.
    Can I use sessionRequestId or something for HttpServletRequestObject that always gives me a unique Id.
    Thanks

    Unique for how long?
    Eternally unique ?
    unique until the server restarts?
    Most simplistic approach would be to have a static/singleton counter. It wouldn't work perfectly in high volume sites, but should work well enough for smaller ones. Including a timestamp in the key makes it fairly unique.
    This would handle both initial requests and refreshes of the page.
    There is nothing you can do about users hitting the back button. If the page gets served from the client cache, the server knows nothing about it, and can not issue a unique id.
    Why the requirement? What are you trying to accomplish by doing this?

  • How to have a unique value for each record??

    could any 1 help me out in this...
    I want to have a column name 'Order No' which should be unique.
    How to generate a unique value for each record.??

    could any 1 help me out in this...
    I want to have a column name 'Order No' which should be unique.
    How to generate a unique value for each record.?? If you are using SQL PLUS to create the table try something like
    this:
    CREATE TABLE ORDER_TEST (
    ORD_NO NUMBER (8) NOT NULL PRIMARY KEY,
    ORDERDATE DATE,
    CUSTID NUMBER (8) NOT NULL,
    SHIPDATE DATE,
    TOTAL NUMBER (8,2) CONSTRAINT TOTAL_ZERO CHECK
    (TOTAL >= 0),
    CONSTRAINT ORD_FOREIGN_KEY FOREIGN KEY (CUSTID) REFERENCES
    CUSTOMER (CUSTID),
    CONSTRAINT ORD_UNIQUE UNIQUE (ORD_NO)
    -- or a simpler table example
    DROP TABLE ORDER_TEST;
    CREATE TABLE ORDER_TEST (
    ORD_NO NUMBER (8),
    ORDERDATE DATE,
    CUSTID NUMBER (8) NOT NULL,
    SHIPDATE DATE,
    TOTAL NUMBER (8,2) CONSTRAINT TOTAL_ZERO CHECK
    (TOTAL >= 0),
    CONSTRAINT ORD_UNIQUE UNIQUE (ORD_NO)
    note: ORD_NO can also be a primary key
    If you are doing the INSERT during runtime from a form first
    create a sequence in SQL PLUS to handle the ORD_NO value:
    Create SEQUENCE ORDERNO_UNIQUEVAL_sqnc
    START WITH 000001
    NOMAXVALUE
    NOCACHE;
    and reference it as the ORD_NO parameter in your INSERT
    statement:
    ORDERNO_UNIQUEVAL_sqnc.NEXTVAL
    note: to maintain data integrity you must use the sequence
    everytime you insert a new order to table. To start a new
    sequence drop the sequence and re-create it with whatever "START
    WITH" value you want.
    Hope this helps
    Kevin

  • How to have profile thumbnails image appear in a SharePoint 2013 list?

    Hello,
    I am not using MySites, but have a SharePoint 2013 list with profiles in them.  They were imported from Active Directory, where I do have thumbnail images for each profile.  I am using SharePoint 2013.  How would I get these images from AD
    into the SharePoint list?  I have the attribute setup in User Profiles Synchronization, but the images did not show up.  I followed these steps in this posting, but I did not do the PowerShell step, since I am not using MySites. 
    http://richardstk.com/2013/04/12/import-user-photos-from-active-directory-into-sharepoint-2013/
    How can I get these images imported to this SharePoint list?
    Thanks,
    Paul
    Paul

    Hi Paul,
    Thanks for posting your issue, Kindlt run the below mentions script to get the profile picture in List view
    Update-SPProfilePhotoStore –MySiteHostLocation
    http://mysites –CreateThumbnailsForImportedPhotos
    $true
    Also, browse below mentioned URLs for more details on this
    http://technet.microsoft.com/en-us/library/ff607547.aspx
    http://blog.blumshapiro.com/blog/2013/05/13/adding-pictures-to-active-directory-and-show-in-sharepoint-2013/
    http://spsawyer.wordpress.com/2013/07/31/sharepoint-2013-user-profile-photo-sizes/
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • How to display configuration items as a dropdown list

    Hi,
    When delivering a repository manager, we need provide a configuration archive (cc.xml and co.xml). For an attribute cc.xml, can we display it as a dropdown list and let user choose the value?
    For example, in cc.xml:
    <attribute name="Protocol" type="string" default=""/>
    I want do display a label "Protocol" before a dropdown list, in which the user can choose from "HTTP" and "HTTPS".
    Normally the user can only fill in the blank of the attribute, but I wanna let user choose the value.
    Thanks,
    Ray

    Hi,
    I think you cannot change the label on thy fly. The internationalization on other hands should work.
    Let's say you have in your <b>XXXX.cc.xml</b> this:
    <b><attribute name="param_protocol" type="enum"/></b>
    Create in the folder where you have <b>XXXX.cc.xml</b> file a folder <b>bundles</b>. inside this folder, inside this folder another folder <b>classes</b>. Here create a file <b>XXXX.properties</b> (XXXX is from your config name). So you will get this structure:
       XXXX.cc.xml
       bundles
          classes
             XXXX.properties
    Inside this file you define labels for your properties, in this case:
    lbl.param_protocol=Protocol
    In fact I haven't tried it in another language, I suppose that creating <b>XXXX_de.properties</b> shold do the trick for DE language and so on.
    Hope this helps,
    Romano

  • Capturing Detail Items for a Related List in a New Item Form

    I have a simple (ha!) requirement to capture Purchase Requests with the individual line items being captured in a separate List.  I have been using InfoPath, but will consider ANY solution at this point.
    If I have an Edit Item Form, I can have a Data View (LIst View Web part) that will display all related items in my Details List (using a filter on the Parent ID).  I can even add a Data Form Web Part below this to allow for the entry of a single itme
    at a time, and make the lookup field of the new item default to the ID of the parent item.
    All well and good for the Edit Item.  But if I want to do the same on my New Item Form, I am up the proverbial without a paddle because I do not have access to the ID of the Parent List Item (that is still being captured).
    So, using any of the standard SharePoint technologies (except Visual Studio), how can I create a New Item Form, in which I can enter items for a related details List and see those detail items already entered, all while capturing the original form?

    Hi Mike,
    According to your description, my understanding is that you want to get the details of the related items in New Item form.
    I recommend to edit the new item form in InfoPath and use repeating table to display the related items based on the value in the lookup column.
    Here are the detailed steps:
    Edit the new item form(listB for example) in InfoPath and then add the related list(listA for example) including all the details you need as external data source to the form.
    Choose the secondary data source added in step1 in Fields panel and then expand dataFields, then right click d:SharePointListItem_RW and select Repeating Table to insert the secondary data source added in step1 as repeating table to the form.
    Right click d:SharePointListItem_RW in the Fields panel and select Rules, then click New and select Formatting in Rules panel.
    Click None under Condition in Rules panel, then select ID field in the repeating table in the first box, select is not equal to in the second box, then choose Select a field or group in the third box and select Main under Fields, then click the lookup field
    in the form and then click OK.
    Select Hide this control under Formatting in Rules panel.
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Retrieve list items from the textbox text value and display the dropdownlist item for that particular list item

    hi,
     I have created a custom list in my sharepoint :
    List1 name:   employeedepartment  -
                   Title       empdepartment
                   A             D1
                   B             D2
                   C             D3 
    List2  name:  employeedetails  
     emptitle            empname       empdepartment(lookup) --> from the list "employeedepartment"
       x                     Ram                 D1
       y                     Robert             D2
       z                     Rahim              D3
    My task is to create a custom webpart that will be for searching this employee details by entering emptitle
    For this, i have created a visual webpart using visual studio 2010, my webpart will be like this:
    emptitle  --->  TextBox1                        Button1--> Text property : Search
    empname---> TextBox2
    empdepartment-->  DropDownList1
    For this, i wrote the code as follows:
    protected void Button1_Click(object sender, EventArgs e)
                using (SPSite mysite = new SPSite(SPContext.Current.Site.Url))
                    using (SPWeb myweb = mysite.OpenWeb())
                        SPList mylist = myweb.Lists["employeedetails"];
                        SPQuery query = new SPQuery();
                        query.Query = "<Where><Eq><FieldRef Name='Title'/><Value Type='Text'>" + TextBox1.Text.ToString() + "</Value></Eq></Where>";
                        SPListItemCollection myitems = mylist.GetItems(query);
                        if (myitems.Count > 0)
                            foreach (SPListItem item in myitems)
                                string a1 = Convert.ToString(item["empname"]);
                                string a2 = Convert.ToString(item["empdepartment"]);
                                TextBox2.Text = a1;           // displaying   properly                    
                                //DropDownList3.SelectedIndex = 1;                           
     It is showing the list item in textbox according to the item entered in the textbox1... But I am stuck to show in the dropdown list. 
    Suppose, if i enter X in textbox and click on search, then dropdownlist need to show D1,
                               for Y --> D2 and for Z-> D3... like that.
    What code do i need to write in the button_click to show this... 
    Please don't give any links...i just want code in continuation to my code.

    Hi,
    Since you have got the data you want with the help of SharePoint Object Model, then you can focus on how to populate values and set an option selected in the Drop Down List.
    With the retrieved data, you can populate them into the Drop Down List firstly, then set a specific option selected.
    Here is a link will show how to populate DropDownList control:
    http://www.dotnetfunda.com/articles/show/30/several-ways-to-populate-dropdownlist-controls
    Another link about select an item in DropDownList:
    http://techbrij.com/select-item-aspdotnet-dropdownlist-programmatically
    Best regards
    Patrick Liang
    TechNet Community Support

Maybe you are looking for

  • How to select a row in LSMW

    Hi, I have a requirement to create new materials copying from exsting material.For this we have custom transaction which will display all the materials in a plant in the table cotrol.Now in this table control i have to select a material based on the

  • "Server Busy" Error in Windows 8.1

    Since yesterday, I have been unable to use Dreamweaver due to a "Server Busy" error coming up when I start the program.  I have installed the available update through CC and am still etting the error, and all documentation on said error is for earlie

  • Can posting with Special Periods possible 4 other than Last posting period?

    Hi Gurus, My client is following a calendar year specific fiscal year (JAN TO DEC). Now, is it possible to post accounting documents or any documents giving any of the 4 special periods and with posting date as that of March? This is for income tax p

  • Find the schema which contains all these tables

    In my DB, only SCOTT has all the three tables EMP,DEPT, BONUS. There are schemas which have either one or two of these tables but only SCOTT has all these 3 tables. To find the schema which contains all these *3* tables. I tried the below mentioned q

  • TOSHIBA SAT LAPTOP L305-S5968 SHUT DOWN AND DIED

    HI FOLKS, This is my first post. I m glad I found this forum because I am at a loss. I am here for a friend whose Toshiba Sat. laptop was giving her a "UNMOUNTABLE BOOT VOLUME" blue screen message and would reboot... It would do this for about 3 time