How to create conditional drop-down lists

I would like to create a form that utilizes conditional drop-down selection boxes like at http://blogs.office.com/b/microsoft-excel/archive/2009/11/24/create-conditional-drop-down- lists.aspx
How can I create a form that contains fields like this?
Is there a sample I can download?

I have downloaded the AcroForm version (ListProgramming_Part1_AcroForm.pdf).
I'm not able to consistently recreate.  I was first playing with the form by selecting values in the drop down.  At one point I went to Document Javascripts and select "Example1".  I chose to edit.  Make no changes and select "OK" I get "SyntaxError: missing } in compound statement 39 at line 40"
The sec ion of code is:
function SetPartEntries()
   // Only run this code on when the selection is commited.  
   if(event.willCommit)
      // There are 3 rows in the order form so in order to use other fields in 
      // the same row we first have to acquire the name of the row
      // we are operating on.  This is part of the List field's name, so we 
      // just have to split it off 
      var cRowName = event.target.name.split(".").shift();
      // Now get the new parts list from the Master List
      // Since the selection is being committed, event.value contains the selection text
      var lst = oAssemblyParts[event.value];
      // If an entry is selected that we don't have a parts list for, then
      // the parts list is just cleared. 
      if( (lst != null) && (lst.length > 0) )
         this.getField(cRowName + ".PartSelect").setItems(lst);
      else
         this.getField(cRowName + ".PartSelect").clearItems();
      // We have a new parts lists and the first entry is 
      // is a non-selection.  so clear the price field.
      this.getField(cRowName + ".Price").value = 0;
I am not able to recreate if I select "Edit all Javascripts" only when I use document javascripts.

Similar Messages

  • How to create Dynamic Drop down list ?

    Hi experts
    I want to create a Dynamic Drop down list that should be an Editable,after editing that i need to save.
    thanks,
    vikram.c.

    Hello,
    Please go through this link:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/linking%2bdrop-down%2blists
    If useful reward.
    Vasanth

  • Creating a drop down list and linking it to Excel files

    How to create a drop down list and when i select any row in the dropdown list, it must open designated MS- Excel file? Can anyone help me in this with an example code?
    Thanks
    Anu

    Try this in 7.0 format.
    Attachments:
    Listbox for excel files.vi ‏15 KB

  • Conditional drop down list

    Is it possible to create a conditional drop down list using Adobe XI for MAC?  I know I've done this in the past with LifeCycle, but there still appears to be no LifeCycle application for MAC.
    My apologies in advance in the event this post is in duplication...everything I searched in the forum didn't provide me resolution.

    Thank You!  This is exactly what I’m looking for…could you share the ‘how’ behind the if/then statements…I’m using Acrobat XI for MAC and can’t figure out the step by step for completing this task.  I’ve used LifeCycle in the past, but recently transitioned to MAC hardware from WIN and there appears to be no LifeCycle application for MAC.
    Best,
    -emb

  • Can you run SQL in the portal and create a drop down list??

    Can anyone tell me if its possible to create a drop down list using sql in the portal?
    Can I create a drop down list of items via sql and then have those same values be used for a discoverer portlet? I am trying to replicate the same concept using parameter values and discoverer worksheets, but through sql. I dont want to have to cut and past lists on the parameter fields. I want to be able to run sql when I post a discoverer worksheet with a parameter and have the values from the sql pass into the worksheet.
    Is that possible???

    I created a lov but i cannot post it on my portlet. When i go to post a portlet, under the db_link, portlet reposistory it does not show.? Also, how do make the connection to the discoverer worsheets to this lov?
    thanks,

  • How to change the drop down list "Category" in the Risk page (PWA 2013)

    Hello,
    How to change the drop down list "Category" in the Risk page of a Project Site. I need to change the list of elements.
    Thanks

    Hi Robert,
    You actually cannot edit the current template.
    The process is as follow: 
    create a brand new project site from the existing template,
    edit the site configuration (list, column, webparts, image, logo, theme...),
    save it as a template,
    associate it to an EPT.
    See reference below:
    http://blogs.msdn.com/b/brismith/archive/2010/03/15/customizing-the-project-site-in-project-server-2010.aspx
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • Create a drop down list in a cell within a table ?

    Is there a way to create a drop down list in a cell within a table ? Like the way it can be done in ms word or excell ? I dont mean an interactive pdf/form. I want to create a table in indesign which has drop down lists other people can use to populate a table quickly.

    Not possible. InDesign isn't designed to be form-filling software. At best, it can create fields which can be passed on to a PDF file, which usually further has to be edited in Acrobat Pro.

  • How to display a drop down list

    how to display a drop down list when the user clicked (right click) on a JPanel or a JFrame

    how to display a drop down list when the user clicked
    (right click) on a JPanel or a JFrameI've not done it my self, I just looked it up:
    JComponent.setComponentPopupMenu(JPopupMenu popup).
    The menu doesn't showed automatically when I added it to a JComponent and tried to right click.
    I guess you could add a listener and call setVisible and setLocation for the menu in the listener, but there has to be an easier way...

  • Create a drop-down list that populates from AD

    Hello,
    Is there a way to create a drop-down list in Excel that will populate from active directory?  I'm finding all sorts of stuff for SharePoint, but nothing for Excel. 
    Thanks!
    -Dusty

     If you are using the following version of Excel:
    1.Microsoft Office 2010 Professional Plus with Software Assurance
    2.Microsoft Office 2013 Professional Plus, Office 365 ProPlus or Excel 2013 Standalone
    You can download and install the Power Query add-in, then you can import the data from Active Directory to Excel.
    Wind Zhang
    TechNet Community Support

  • How do I create a drop down list to e-mail a form for signature.

    The desired workflow is for
    1)      Firefighter 1 to complete the top portion of the Agreement
    section, sign in the Firefighter 1 signature field (which locks the top
    portion of the Agreement Section), then select Firefighter 2 from the
    e-mail drop down list and e-mail the PDF form to Firefighter 2;
    2)      Firefighter 2 opens the e-mail and the PDF attachment,
    completes the second portion of the Agreement Section, sign in the
    Firefighter 2 signature field (which locks the bottom portion of the
    Agreement Section), select Lieutenant 1 from the e-mail drop down list
    and e-mail the PDF form to Lieutenant 1;
    3)      Lieutenant 1 opens the e-mail and the PDF attachment, checks
    the approved box, signs the Lieutenant 1 signature field, select
    Lieutenant 2 from the e-mail drop down list and e-mail the PDF form to
    Lieutenant 2;
    4)      Step three continues through Lieutenant 2, Battalion Chief 1
    and Battalion Chief 2
    5)      Battalion Chief 2 sends the fully completed form back to
    Firefighter 1 who copies the completed form to Firefighter 2
    Note: if any of the officers disapprove the agreement the disapproved
    form is immediately sent back to Firefighter 1

    katiesandell wrote:
    how can i create a drop down menu so that when i click on the arrow in the cell i can select from the menu that appears
    Hi Katie,
    Welcome to Apple Discussions and the Numbers '09 forum.
    Numbers vocabulary for this feature is a "Pop-up Menu". It's available as a Cell Format, and is set and edited in the Cell Format Inspector.
    See "Using a Checkbox, Slider, Stepper, or Pop-Up Menu in Table Cells" starting on page 96 of the Numbers '09 User Guide.
    This guide, and the equally useful iWork Formulas and Functions User Guide are available for download through the Help menu in Numbers.
    Regards,
    Barry

  • How to use multiple drop down lists and do not allow duplicates.

    I am creating a roster that has multiple positions on multiple pages. I have a drop-down list that is populated with all of the employees and want to make sure that the same employee cannot be selected for multiple posts. Ideally, when one is selected in a position, that person would not be an option in the other drop-down lists. Also, when the form is published, the end user will not use the drop-down lists in order. I have found script to remove selected items, but it only works when the user makes selections in order (List1, List2, List3 etc).
    First time posting, any help would be appreciated.

    Look into the ring control.  It behaves a lot like an enum, but you can dynamically set its contents and values associated with those contents.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How to populate page drop-down list in Struts from action?

    I have following mockup JSP:
    <td colspan="2" height="28"> <font size="2">
            <html:select property="sj">
               <html:option value="allj">aaa,1,str1</html:option>
             </html:select>
                        </font>
                      </td>
    ...Struts action will prepare results as String[] array e.g.:
    aaa,1,str1
    aaa,2,str2
    aaa1,1,str3
    aaa1,b,str4
    and I have to show this in the page as a drop-down list of values that are represented in this String[] array returned from Struts action.
    Should action return result array in original ActionForm submitted to the action by this page or should it just put the array into request or session? I need an example if possible
    Many thanks,

    Hi,
    In ur Action Class create aa ArrayList of LabelValueBean Object (use import org.apache.struts.util.LabelValueBean; )
    Eg:
    ArrayList myList  = new ArrayList();
    for( int i=0; i<10 ; i++ )
       myList.add( new LabelValueBean(  "Label of  "+ i , " value of " +i  ) );
    }put myList either in request or session
    eg
    session.setAttribute(  "DisplayList", myList  );****************************************************************
    in JSP use JSTL Tags for JSP
    eg
    <html-el:select property="listToDisplay"  style="width=200" size="1">
    <html-el:option value="-1">--Select One--</html-el:option>
    <html-el:options collection="DisplayList" property="value" labelProperty="label" />
    </html-el:select>Here "DisplayList" will be ref'ed from session scope or request scope.
    Hope this can solve ur Doubt.
    Ganesh

  • How to get prefilled drop down list in Adobe form from WebDynpro context

    Hi All,
    We all know that we can have dropdown list in webdynpro which can be automatically populated by the context node collection.
    How can we have the same functionality in Adobe form drop down list. I tried to bind the node attribute to drop down list in Adobe form but it shows me only first element. I am not able to see all the elements in the dropdown but if I am doing same thing for WebDynpro DropDown list I can see the complete List.
    Anybody with Solution?

    Hi Ricky
    I have started a thread for this problem and got an answer for it already. Unfortunately I did not have the time to check it out yet; have a look over there:
    https://mail.cirrus.ch/exchweb/bin/redir.asp?URL=https:///community [original link is broken]
    I appreciate if you tell me whether it worked for you.
    Andreas

  • Create a drop down list

    Hi All,
    IS it possible to create a drop down option in a field in SAP HR.For ex: In IT0009 can i create a drop down for the field Control key.
    If yes can anyone help me as to how we can go ahead with it.
    Thanks and Regards

    Hi,
    not a techie - expert, but probably you'll need to change some settings in the field via SE11.
    However, I would strongly adivce you to not change settings of standard SAP - fields.

  • How to make a drop down list default to a blank space

    I have a drop down list
    <cfselect name="EmployeeName" query="getname"
    value="EmployeeName" selected=" "></cfselect>
    I want the list to default to a blank space, can this be
    done?
    If so, how?

    I figured out a way to do it, except now I ran into another
    problem. The way I have it set up, i can't make it required now.
    Any ideas?
    <cfselect name="EmployeeName" query="getname"
    value="EmployeeName" required="yes" message="Please select your
    name">
    <option value="" selected="selected"></option>
    </cfselect>

Maybe you are looking for

  • Can't play cd burned with disk utility

    i have followed the the directions on duplicating a cd on this link: http://docs.info.apple.com/article.html?path=DiskUtility/10.5/en/duh1945.html but the cd that i burned is not recognized by itunes or a regular cd player. can anybody offer any insi

  • My bookmarks no longer show up in a column when I sign on. (Firefox 5, Vista)

    I no longer have a bookmarks column (at the left) when I sign on. Instead, I get a full page of whatever site I bring up. I have tried bringing the column back by using the Firefox button at top left, but there seems to be no way to bring back the bo

  • Question - Best practice data source for Vs2008 and Crystal Reports 2008

    I have posted a question here CR2008 using data from .NET data provider (ADO.NET DATASET from a .DLL) but think that perhaps I need general community advise on best practice with data sources. In Crystal reports I can choose the data source location

  • Excel Add-In with WorkbookOpen event causes error in Word

    EDIT: New information I have narrowed the problem to a specific code. Following code produces the error message (see below in the original part): public partial class ThisAddIn private void ThisAddIn_Startup(object sender, System.EventArgs e) Globals

  • Sending mixed case data

    Hi All, I need to pass a field with mixed case characters ( Example : JoeSmith) . If I dont  do a TOUPPER formula for this field in Transformation at the DSO stage, the load fails with that Hex conversion message. We don't want to convert to Uppercas