<?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: dynamically modify manifest.xsf</title><link>https://www.infopathdev.com:443/forums/thread/2529.aspx</link><pubDate>Thu, 08 Jun 2006 16:17:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2529</guid><dc:creator>andreas.vogel</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2529.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2529</wfw:commentRss><description>Hi Kalyan,&lt;br /&gt;&lt;br /&gt;When you say conditions, do you mean Rules?&lt;br /&gt;The problem with Rules is that it does not allow one to set the "Default" value of a field.  This means that the affected field will only update when the drop down has been changed.  If the formula however requires a number of other fields to be involved - anytime the other fields change - it will not reflect those changes.&lt;br /&gt;&lt;br /&gt;For example:&lt;br /&gt;&lt;br /&gt;&amp;lt;DropdownField&amp;gt;  --&amp;gt;  Rule - if text = "Foo" then set value of &amp;lt;someField&amp;gt; = &amp;lt;FieldA&amp;gt; * &amp;lt;FieldB&amp;gt; * &amp;lt;FieldC&amp;gt;&lt;br /&gt;&lt;br /&gt;The problem with this is - that this calculation only happens when &amp;lt;DropdownField&amp;gt; is modified...as it is not setting &amp;lt;someField&amp;gt;'s default value.&lt;br /&gt;&lt;br /&gt;I hope this clarifies my problem.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;-Andreas&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: dynamically modify manifest.xsf</title><link>https://www.infopathdev.com:443/forums/thread/2528.aspx</link><pubDate>Thu, 08 Jun 2006 06:33:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2528</guid><dc:creator>Kalyan Gaddam</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2528.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2528</wfw:commentRss><description>Hello, &lt;br /&gt;&lt;br /&gt;Did you try use conditions?&lt;br /&gt;You can set different Formulas and different conditions. Based on the changed value in the text box/drop down, appropriate condition/Formula will be fired.&lt;br /&gt;&lt;br /&gt;I hope this is what you are looking for.</description></item><item><title>dynamically modify manifest.xsf</title><link>https://www.infopathdev.com:443/forums/thread/1333.aspx</link><pubDate>Mon, 05 Jun 2006 18:13:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1333</guid><dc:creator>andreas.vogel</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1333.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1333</wfw:commentRss><description>Hello,&lt;br /&gt;&lt;br /&gt;I'm new to infopath and to the .net world period.&lt;br /&gt;My question is:  is it possible to dynamically modify the manifest.xsf?&lt;br /&gt;I'm looking to change the default value - formula of a field based on the value of another field (a drop down).  Since XPath doesn't do if / else statements I was hoping there is some kind of way to modify/hack the manifest.xsf... maybe with something similar to an xsl:choose or xsl:if ?&lt;br /&gt;&lt;br /&gt;Rules and Validators don't fullfill my requirements.  JScript on each fields action will work but will require 3 times the amount of code that it would take if I can modify the default value - formual of a field.&lt;br /&gt; &lt;br /&gt;Thanks,&lt;br /&gt;-Andreas</description></item></channel></rss>