<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: How do I create dynamic button text based on fields in Infopath.</title><link>https://www.infopathdev.com:443/forums/thread/41653.aspx</link><pubDate>Wed, 13 May 2009 12:26:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41653</guid><dc:creator>TiltnSpill</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41653.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=41653</wfw:commentRss><description>&lt;p&gt;I found a solution, thanks ErnestoM.&lt;/p&gt;
&lt;p&gt;I wanted to avoid this because I&amp;#39;ve done it before and wanted to try a&amp;nbsp;something different&amp;nbsp;to see if it was &amp;quot;simpler&amp;quot;.&lt;/p&gt;
&lt;p&gt;What I ended up doing is creating one submit button and one text box.&amp;nbsp; Submit button gets label from value of text box.&amp;nbsp; Text box value is altered by various rules, submit changes based on rules.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s turning out to be about a big a hassle as 12 submit buttons honestly though :).&amp;nbsp; I&amp;#39;ll let you know which solution I like better!&lt;/p&gt;</description></item><item><title>Re: How do I create dynamic button text based on fields in Infopath.</title><link>https://www.infopathdev.com:443/forums/thread/41650.aspx</link><pubDate>Wed, 13 May 2009 12:19:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41650</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41650.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=41650</wfw:commentRss><description>&lt;p&gt;The simplest solution is exactly what you have described: insert 12 different submit buttons and add conditional formatting to each of them, in order to hide/show them as you need. Why do you want to avoid this? It&amp;#39;s quite a common codeless strategy in InfoPath.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>How do I create dynamic button text based on fields in Infopath.</title><link>https://www.infopathdev.com:443/forums/thread/41590.aspx</link><pubDate>Tue, 12 May 2009 15:21:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41590</guid><dc:creator>TiltnSpill</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41590.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=41590</wfw:commentRss><description>&lt;p&gt;Good morning,&lt;/p&gt;
&lt;p&gt;Background information on form.&amp;nbsp; Form is a document that has to get approved by several different people.&amp;nbsp; I&amp;#39;ve created&amp;nbsp; a single &amp;quot;submit&amp;quot; button control with different functions based on rules set in the control.&lt;/p&gt;
&lt;p&gt;What i&amp;#39;d like to do now is create a dynamic label for this button based on field values set in the form.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Example - Manager opens form and has to submit form to HR&amp;nbsp;(user role = manager).&amp;nbsp; Instead of saying &amp;quot;submit&amp;quot; I&amp;#39;d like it say &amp;quot;submit to HR&amp;quot;.&amp;nbsp; Then when HR opens the form I&amp;#39;d like it to say &amp;quot;Submit to Upper management&amp;quot;.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure if this is possible but I don&amp;#39;t want to create 12 different submit buttons that have to be hidden based on conditional formatting.&lt;/p&gt;
&lt;p&gt;If I can get help started, I think I can complete it!&amp;nbsp; Any help would be greatly appreciated.&lt;/p&gt;</description></item></channel></rss>