Dropdown lists - InfoPath Dev
in

InfoPath Dev

Dropdown lists

Last post 12-15-2005 12:40 PM by Matt Faus. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 12-14-2005 04:30 PM

    • Sumeet
    • Not Ranked
    • Joined on 08-25-2005
    • USA
    • Posts 12

    Dropdown lists

    Hi guys,

    I need to make a form on which there is the drop down list and there are already some values in that list but the user should also be able to simply type in whatever he wants in the list. I don't think that by default that is possible but does anybody know how to do it. I mean I could add an "others" option in the drop down list which would show up a hidden text box in which I could then let the user add whatever data he wants but I wanted to ask whether somebody had done something like this and whether someone could please suggest a better way to do this.

    Thanks in advance for your help,

    Sumeet

  • 12-15-2005 12:27 PM In reply to

    • Ben
    • Top 500 Contributor
    • Joined on 11-17-2005
    • Germany
    • Posts 33
    Hi Sumeet, why aren't you working with a hidden textbox which unhides as lang as it isn't blank and hide the ddl when it isn't blank? When you open your form your ddl will apear and as soon as the user selects an item the list box will apear with the selected entry. Hope I got you right.
  • 12-15-2005 12:40 PM In reply to

    Sumeet,

    First you will need to move the selections from your drop down menu into a data source such as an XML file and link it as a secondary data source. To do that check out this thread:http://infopathdev.com/forums/topic.asp?TOPIC_ID=1258 . After that is done, you can display your drop-down values as either a drop-down list or a repeating table. If you put a control on the view and link it to the same node that you pull the drop-down list values from you can easily add (or subtract) options from the drop-down. However, you might want to look into some kind of script or conditional formatting to keep users from deleting options that you do not want deleted.

    Hope this helps!

    ---------------
    Matt Faus
    InfoPath Dev Texas
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.