How can I get Display Name in dropdownlist control? - InfoPath Dev
in

InfoPath Dev

How can I get Display Name in dropdownlist control?

Last post 01-14-2008 06:19 AM by Clay Fox. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 01-14-2008 01:28 AM

    How can I get Display Name in dropdownlist control?

    Hi all,

    I have some problem with dropdownlist. I set dropdownlist entries by manual. When I change dropdownlist index on runtime, I want to get display name. Then I set display name to a TextBox.

    How can I do?

    Cheers.

    インフォパス ● デべロッパー
  • 01-14-2008 06:19 AM In reply to

    Re: How can I get Display Name in dropdownlist control?

    You can only reference the value of a field.

    Are your values and the display name the same? I will assume they are different.

    One option is to bind your dropdown to a seperate field where you can keep the value for your use and set the value of the original and other fields as needed or create an input table which has the display name and values which can be a secondary data source so you can resolve the value and the display name anywhere in your form as well as use it for your drop downs.

    I would recommend a simple XML list that will have this data table which can be used as a data source in your form.

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