<?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 add dynamic text button in InfoPath 2007 Form Template.</title><link>https://www.infopathdev.com:443/forums/thread/27549.aspx</link><pubDate>Fri, 28 Mar 2008 23:41:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27549</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27549.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=27549</wfw:commentRss><description>&lt;p&gt;I should add that unless you have the fields in your schema, you are not going to be able to add them at runtime. The only way to do this is to have the fields in your schema, but not the nodes in your XML... and then add the nodes to your XML at runtime. You need them in your schema or you cannot build them into your form template at design time -- which is the only way it can be done.&lt;/p&gt;</description></item><item><title>Re: How do i add dynamic text button in InfoPath 2007 Form Template.</title><link>https://www.infopathdev.com:443/forums/thread/27548.aspx</link><pubDate>Fri, 28 Mar 2008 23:39:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27548</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27548.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=27548</wfw:commentRss><description>&lt;p&gt;Then what you are needing to do is to make sure that your form schema is set up to have those fields... and then you will need to write code behind your button to add in the XML DOM nodes for those fields.&lt;/p&gt;</description></item><item><title>Re: How do i add dynamic text button in InfoPath 2007 Form Template.</title><link>https://www.infopathdev.com:443/forums/thread/27520.aspx</link><pubDate>Fri, 28 Mar 2008 04:50:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27520</guid><dc:creator>mehtapramod</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27520.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=27520</wfw:commentRss><description>&lt;p&gt;&lt;span class="txt5"&gt;&lt;span id="_ctl0_MainContent_PostFlatView__ctl0_PostRepeater__ctl0_Subject" style="FONT-WEIGHT:bold;"&gt;Hi Greg Collins ,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="txt5"&gt;&lt;span style="FONT-WEIGHT:bold;"&gt;the method you suggested would have all thetextboxes to be placed at the desgintime itself... but i need to generate a textbox only if the user clicks on the button and not in the design time.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="txt5"&gt;&lt;span style="FONT-WEIGHT:bold;"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;span class="txt5"&gt;&lt;span style="FONT-WEIGHT:bold;"&gt;Thanks.&lt;/span&gt;&lt;/span&gt;&lt;span class="txt5"&gt; 
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;</description></item><item><title>Re: How do i add dynamic text button in InfoPath 2007 Form Template.</title><link>https://www.infopathdev.com:443/forums/thread/27511.aspx</link><pubDate>Thu, 27 Mar 2008 23:10:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27511</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27511.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=27511</wfw:commentRss><description>&lt;p&gt;You will need to place your text boxes in a section. The section has conditional formatting to hide if some field value is not set to true, for example. The button, when clicked, has a rule that sets that field value to true, causing the section to be displayed.&lt;/p&gt;</description></item><item><title>How do i add dynamic text button in InfoPath 2007 Form Template.</title><link>https://www.infopathdev.com:443/forums/thread/27470.aspx</link><pubDate>Thu, 27 Mar 2008 06:02:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27470</guid><dc:creator>mehtapramod</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27470.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=27470</wfw:commentRss><description>&lt;p&gt;I am working on VS2008 and trying to create a InfoPath 2007 Form Template (C# as the language). &lt;/p&gt;
&lt;p&gt;In which i will add a button on the designer and on click of that button i need to create a text box (ie at runtime dynamically)to get some text from the user.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;the full scenario is as such:&lt;/p&gt;
&lt;p&gt;Hi,&lt;br /&gt;the scenario is as such:&lt;br /&gt;on the click of a button i show some 3 text box and a button to the user.&lt;br /&gt;in the first text box he adds a title&lt;br /&gt;in the seconf text box he adds the description of it.&lt;br /&gt;in the third text box he adds the lessons adn if he needs to add more lesson&amp;#39;s in a particular title he needs to click on the button and one more text box will be shown to the user where he would add more lesson and then finally a save button to save all this details via a web service to a DB.&lt;/p&gt;
&lt;p&gt;Thanks ,&lt;/p&gt;
&lt;p&gt;Pramod Mehta&lt;/p&gt;</description></item></channel></rss>