<?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: Automatic field update when selecting from a drop down list</title><link>https://www.infopathdev.com:443/forums/thread/42629.aspx</link><pubDate>Mon, 08 Jun 2009 20:40:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42629</guid><dc:creator>Libel</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42629.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42629</wfw:commentRss><description>&lt;p&gt;Michael,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Many many thanks for your help, it works perfectly! I didn&amp;#39;t even think about using the value field when adding a list value. I guess I have a lot to learn ;-D&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks again.&lt;/p&gt;</description></item><item><title>Re: Automatic field update when selecting from a drop down list</title><link>https://www.infopathdev.com:443/forums/thread/42624.aspx</link><pubDate>Mon, 08 Jun 2009 19:48:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42624</guid><dc:creator>michael.inman@fmr.com</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42624.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42624</wfw:commentRss><description>I just did a quick test on this.

I think the issue is that you do not need a rule for each value in your drop down list.  If you are simply multiplying the amount in the dropdown (value = .05, display = 5%), then you just need to set up a rule to &amp;#39;set a field&amp;#39;s value&amp;#39; and use the formula original (amount * dropdown value)

my formula looked like this (. * amount) where the . is the dropdown value.

also, you would want to do this same rule on the box where you input the original amount.  this will recalculate the contingency amount if the amount changes without having the reselect the amount in the dropdown box.

let me know if this helps.</description></item><item><title>Automatic field update when selecting from a drop down list</title><link>https://www.infopathdev.com:443/forums/thread/42621.aspx</link><pubDate>Mon, 08 Jun 2009 19:04:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42621</guid><dc:creator>Libel</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42621.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42621</wfw:commentRss><description>&lt;p&gt;Hi guys, I have just started &amp;quot;playing&amp;quot; with Sharepoint and Infopath so excuse my newbiness :) (and I am not a dev at all). &lt;/p&gt;
&lt;p&gt;My problem: a field value doesn&amp;#39;t update automatically when I select my values from a drop down list. &lt;/p&gt;
&lt;p&gt;Here is my thing: I have built a form that helps me calculate the cost of ressources per hour worked. I want to be able to calculate the amount of a fixed contingency - let&amp;#39;s say 10% - on the overall amount of $. Therefore I have built a drop down list. I added the following values: 5%, 10%, 15% so that the user can select easily the right percentage to apply. &lt;/p&gt;
&lt;p&gt;In another column, I have a field that I want to be automatically populated based on the following formula: grandtotal * contingency percentage. &lt;/p&gt;
&lt;p&gt;In my drop down list, I setup rules for each percentage (define a field value). &lt;/p&gt;
&lt;p&gt;Action: define field&amp;nbsp;&amp;nbsp;value&lt;/p&gt;
&lt;p&gt;Field: Contingency &lt;/p&gt;
&lt;p&gt;Value: totalbudget (name of my field)&amp;nbsp;* 0,05 &lt;/p&gt;
&lt;p&gt;My issue is that as soon as I select other values in my drop down like 10% or 15% (after having selected 5% to test), my field value doesn&amp;#39;t update accordingly. Do I need to add something in my Xpath expression? Sorry I am totaly lost here :) &lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;</description></item></channel></rss>