<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>How to use value of field as field name to get value without eval function??</title><link>https://www.infopathdev.com:443/forums/thread/97094.aspx</link><pubDate>Tue, 22 Apr 2014 01:54:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97094</guid><dc:creator>slim18</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97094.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=97094</wfw:commentRss><description>&lt;p&gt;Subject sounds a bit confusing so let me explain:&lt;/p&gt;&lt;p&gt;Say I have five fields in my form named &amp;quot;fieldName, field1, field2, field3, fieldValue&amp;quot;&lt;/p&gt;&lt;p&gt;For example, I want to be able to&amp;nbsp;type &amp;quot;field1&amp;quot; into the &amp;quot;fieldName&amp;quot; field and get the value of field1 and display it in fieldValue&lt;/p&gt;&lt;p&gt;and hence if I type &amp;quot;field3&amp;quot; into &amp;quot;fieldName&amp;quot;, I&amp;#39;d display the value of &amp;quot;field3&amp;quot; in &amp;quot;fieldValue&amp;quot;&lt;/p&gt;&lt;p&gt;I know you can do this using an eval function however eval functions are not compatible with web browser forms&lt;/p&gt;&lt;p&gt;&lt;em&gt;XPath code for fieldValue: xdMath:Eval(.., concat(&amp;quot;my:&amp;quot;, string(/my:myFields/my:fieldName)))&lt;/em&gt;&lt;/p&gt;&lt;p&gt;Is there any other way of doing this that is compatible with web browser forms?&lt;/p&gt;</description></item></channel></rss>