Add a New Item to a Dropdown List (must be InfoPath 2003) - InfoPath Dev
in

InfoPath Dev

Add a New Item to a Dropdown List (must be InfoPath 2003)

Last post 02-19-2010 08:33 AM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-17-2010 01:54 AM

    Add a New Item to a Dropdown List (must be InfoPath 2003)

    Hi everybody,

    maybe this problem has already been discussed and solved elsewhere for IP2003 (any hints?), but unfortunately I still could not find a proper solution.

    Situation: The user does not find a matching item in a dropdown list.

    Requirement: The user enters the new itemname in a seperate textbox. The new item is then added to the dropdown list and available for future use.

    Question: How can this be achieved using jscript or any other tools?

     

    Thanks in advance!

  • 02-19-2010 08:33 AM In reply to

    Re: Add a New Item to a Dropdown List (must be InfoPath 2003)

    Hi --

    Is your drop down list populated from a secondary data source? Because, basically, you'll need to submit any 'new' items to that data source, then refresh it for them to show up in the current form.

    If your form itself is bound to a DB and you submit info from it to a DB, another option that may be workable for you is to use the values submitted already to your table for that field as the source of your drop down. Provide the user with a drop down control and a text box (maybe a cool looking button to allow them to chose what to display, you can make it look snazzy). If the option doesn't exist in the drop down, they use the text box. After they submit their form, the new value is now in your main table. Since it is feeding your drop down as well, as a secondary data source... the next time the form template is open, the new item will be an option.

    Hilary Stoupa

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.