I have a drop down on a form with a number of options manually added. These
options have a number for the value and a text description for the display
text. Via form code I can retrieve the value, but not the display text. I
am using this code to get my value:
ndSample.selectSingleNode("my:SampleField").text
I've discovered that the display text is in the view1.xsl file, and not the
main data set, so essentially I'm asking how to retrieve information from
view1.xsl via code. Thanks.
Hi Jack,
Check this: http://www.infopathfaq.com/development.asp?page=2
Regards,
Franck Dauché
> I have a drop down on a form with a number of options manually added. These
> options have a number for the value and a text description for the display
[quoted text clipped - 4 lines]
> main data set, so essentially I'm asking how to retrieve information from
> view1.xsl via code. Thanks.
Jack - 20 Dec 2005 13:39 GMT
I've been doing that for dropdowns that are bound to datasoures, however my
dropdown lists on this form are all bound to manually entered option items.
How do I retrieve these?
> Hi Jack,
>
[quoted text clipped - 16 lines]
>> main data set, so essentially I'm asking how to retrieve information from
>> view1.xsl via code. Thanks.