<?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: Set field value</title><link>https://www.infopathdev.com:443/forums/thread/119333.aspx</link><pubDate>Fri, 22 Jun 2018 18:23:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119333</guid><dc:creator>Wheels</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119333.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=119333</wfw:commentRss><description>&lt;p&gt;Good afternoon OJ.&lt;/p&gt;&lt;p&gt;It appears that you are combining your Condition and Action. &lt;/p&gt;&lt;p&gt;You want ot do the following:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Select the field (GradCert).&lt;/li&gt;&lt;li&gt;Click Manage Rules - InfoPath 2013 (or set up a rule).&lt;/li&gt;&lt;li&gt;In the Condition, select SelectUnit is equal to PaperReferenceTitle And (button) Type is equal to Vac (Type a Text).&lt;/li&gt;&lt;li&gt;Select the Rule type Action, and click Add.&lt;/li&gt;&lt;li&gt;Click Set a fields value.&lt;/li&gt;&lt;li&gt;Select the field (GradCert) under the Field box, and set the Value to Cert.&lt;/li&gt;&lt;li&gt;Click Ok.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Have a great day, WHEELS&amp;nbsp;&lt;/p&gt;</description></item><item><title>Set field value</title><link>https://www.infopathdev.com:443/forums/thread/118787.aspx</link><pubDate>Fri, 13 Apr 2018 09:12:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118787</guid><dc:creator>OrangeJuice</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118787.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=118787</wfw:commentRss><description>&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;Hi&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0cm 0cm 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;I want to conditionally set a Field value when a specific
dropdown choice is made. &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0cm 0cm 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;In my dropdown I have the following columns&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0cm 0cm 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;ID, Display Name, Type&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0cm 0cm 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;The display name is what’s shown in the dropdown field.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0cm 0cm 10pt;"&gt;&lt;font face="Calibri"&gt;&lt;font size="3"&gt;I want myTextField to = ‘Cert’ when (Type=’VAC’ and &lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;font size="3"&gt;dropdown field = the secondary source).&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0cm 0cm 10pt;"&gt;I think I&amp;nbsp;am partially there but the&amp;nbsp;problem is that I can appear to&amp;nbsp;set a static value when using the Action. &amp;nbsp;&lt;/p&gt;&lt;p style="margin:0cm 0cm 10pt;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0cm 0cm 10pt;"&gt;I&amp;#39;ve attached a screenshot of Actions and her is the XPath&lt;br /&gt;&lt;br /&gt;../../my:SectionDevFields/my:GradCert[../../my:SectionSelectUnit/my:SelectUnit = xdXDocument:GetDOM(&amp;quot;CLMUnits&amp;quot;)/dfs:myFields/dfs:dataFields/tns:GetXMLResponse/tns:GetXMLResult/InfoPath/OriginalData/clm_units/PaperReferenceTitle and xdXDocument:GetDOM(&amp;quot;CLMUnits&amp;quot;)/dfs:myFields/dfs:dataFields/tns:GetXMLResponse/tns:GetXMLResult/InfoPath/Data/clm_units/Type = &amp;quot;VAC&amp;quot;]&lt;/p&gt;&lt;p style="margin:0cm 0cm 10pt;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0cm 0cm 10pt;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0cm 0cm 10pt;"&gt;Thanks&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0cm 0cm 10pt;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0cm 0cm 10pt;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0cm 0cm 10pt;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;/p&gt;</description></item></channel></rss>