DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Drop Down List using XML

  1. #1
    Join Date
    Nov 2010

    Drop Down List using XML

    I have a very basic question. I'm creating a company in Infopath form that I will be using drop down boxes in. I'm recreating a current company form that has to be identical to the original in all aspect. These drop down boxes use three number codes representing an action and there are dozens of them. To simplify using the form, I would like to add a brief description next to each code, but keep only the three number code as the value of the box. Is there any way I can do that using XML?

    Drop down list will show the user "070 - Broken", but once the user selects this from the list only "070" remains in the box.

    Here's the basic code I'm working with:

    <?xml version="1.0" encoding="utf-8" ?>
    <text>No Failure</text>

  2. #2
    Join Date
    May 2009
    United Kingdom
    Insert a drop-down list box for InfoPath 2007:

    See step 9, sub point:
    Use values from a database, Web service, XML document, or SharePoint site

Similar Threads

  1. Replies: 1
    Last Post: 01-20-2009, 02:22 AM
  2. Help with Drop down list
    By BillyMako in forum AJAX
    Replies: 1
    Last Post: 08-07-2008, 11:22 AM
  3. Data on a Drop Down List box
    By Complete in forum C++
    Replies: 1
    Last Post: 08-14-2007, 08:25 AM
  4. Drop down list box with SQL server
    By software_develo in forum .NET
    Replies: 3
    Last Post: 02-16-2006, 01:29 PM
  5. XML files vs Database
    By Mansoor in forum XML
    Replies: 8
    Last Post: 08-23-2002, 04:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center