Drop Down List Box - InfoPath Dev
in

InfoPath Dev

Drop Down List Box

Last post 11-16-2005 03:31 PM by franck. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 11-16-2005 09:43 AM

    Drop Down List Box

    Hi,

    I am populating an infopath DDL from a list. Is there a way I can pick a particular value as the default value.

    Thanks
    -Vasudha
  • 11-16-2005 10:13 AM In reply to

    Hi Vasudha,

    Yes, just pre-populate your node linked to your DDL with the initial value you wish to have.


    Regards,

    Franck Dauché
    InfoPathDev
  • 11-16-2005 11:02 AM In reply to

    Hi Frank,

    Just to clarify, I am populating the DDL from a sharepoint list (which has name and email columns). The DDL in the infopath form reads from this list (with value as email address and display name as name).

    Where and how do I pre-populate the node.

    Thank You
    -Vasudha
  • 11-16-2005 03:31 PM In reply to

    Hi,

    You have secondary data sources for your lists then, right? You can loop through your secondary DOM by code (do a search on this forum for code sample), and just assign the value you need to the node in your main DOM (thisXDocument.DOM.selectSingleNode("YourXPath")).

    Regards,

    Franck Dauché
    InfoPathDev
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.