<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Custom Pattern from another field or Dynamically assign to field</title><link>https://www.infopathdev.com:443/forums/thread/39991.aspx</link><pubDate>Wed, 25 Mar 2009 17:10:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39991</guid><dc:creator>varun_jain786</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39991.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=39991</wfw:commentRss><description>&lt;p&gt;As i didn&amp;#39;t get any reply, i am adding more details to this problem with screen shot....&lt;img src="http://www.infopathdev.com/forums/C:%5CDocuments%20and%20Settings%5CAdministrator%5CDesktop%5CQuick%20Data%5CPattern-Not-Working-From-Another-Field.JPG" title="Pattern Not Working From Another Field" alt="Pattern Not Working From Another Field" align="left" /&gt;&lt;/p&gt;&lt;p&gt;This is how i am writing the expression:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;xdUtil:Match(string(Zip), ..\Pattern)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;where Zip is current field, and Pattern is field from where i am getting \d\d\d\d\d but intead of taking value, it consider \Pattern as string. THis is where i am not able to figure out how to get value from another field for pattern so that it can be executed on client while running on browser. This pattern is coming from configuration file &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Custom Pattern from another field or Dynamically assign to field</title><link>https://www.infopathdev.com:443/forums/thread/39894.aspx</link><pubDate>Tue, 24 Mar 2009 02:09:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39894</guid><dc:creator>varun_jain786</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39894.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=39894</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I am using infopath 2007, browser form. I want to get the pattern dynamically from the secondary data source, and at runtime want to assign that pattern to field.&amp;nbsp;&lt;/p&gt;&lt;p&gt;I select custom pattern but there is not option to select or get the data from another field.&lt;/p&gt;&lt;p&gt;Any help would be appreciated. This is very important and urgent for our project.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&lt;br /&gt;Varun&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>