Get InfoPath field inner text

infopathgettext.GIF

see http://blogs.msdn.com/infopath/archive/2006/06/07/621202.aspx for intructions on how to get XPath query for your form

Last edited Sep 28, 2007 at 3:59 PM by unclepaul84, version 3

Comments

aspnetgeek Jan 10, 2008 at 9:56 PM 
Check to make sure your XPath query retrieves only one item.
/my:Root/my:RepeatingField[0]

Jae Nov 19, 2007 at 8:46 PM 
This seems to only work with single fields, is there a way to make this work with infopath forms that have repeating sections? ie. the xml output is something like: <Resources><Approver>acme\John</Approver><Approver>ACME\Jane</Approver></Resources>