<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Help with conditional function</title><link>https://www.infopathdev.com:443/forums/thread/100445.aspx</link><pubDate>Sun, 07 Dec 2014 09:14:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100445</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100445.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=100445</wfw:commentRss><description>&lt;p&gt;Hi Sephaerius,&lt;/p&gt;&lt;p&gt;InfoPath has a conditional function&amp;nbsp;called &amp;quot;begins with&amp;quot;&amp;nbsp;which you can use. Kindly download the form I am attaching and open it in design mode (right click &amp;gt; select Design), check the action rule on field1 which sets field2 to XYZ on the condition that field1 begins with &amp;quot;A&amp;quot;. Hope this helps.&lt;br /&gt;&lt;br /&gt;Regards,&lt;/p&gt;</description></item><item><title>Help with conditional function</title><link>https://www.infopathdev.com:443/forums/thread/100426.aspx</link><pubDate>Thu, 04 Dec 2014 22:36:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100426</guid><dc:creator>Sephaerius</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100426.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=100426</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I&amp;#39;m brand new to InfoPath.&lt;br /&gt;I&amp;#39;ve got a text box in which I need custom values returned based on the value in the box next to it. To elaborate:&lt;br /&gt;The user will fill out Box1 with an account number, this account number will start with an alpha prefix and then contain several numbers. I need Box2 to return a custom value IF the alpha prefix in Box1 equals (A, B, C...) I had hoped that Infopath might function similarly to Excel to where I could use =IF(), but web searching has lead me to believe it is more complicated than that. I watched a few tutorial videos but wasn&amp;#39;t able to extract the solution I&amp;#39;m looking for.&lt;/p&gt;&lt;p&gt;So to summarize, here&amp;#39;s what I&amp;#39;m looking for:&lt;/p&gt;&lt;p&gt;If Box1 begins with &amp;quot;A&amp;quot;, then in Box2 display &amp;quot;ABC&amp;quot;, If Box1 begins with &amp;quot;B&amp;quot;, then Box2 display &amp;quot;XYZ&amp;quot;, and so on and so forth for nine different alpha prefixes.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Does this make sense? Is it doable?&lt;/p&gt;&lt;p&gt;I appreciate the help! &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>