<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Dynamic form/controls</title><link>https://www.infopathdev.com:443/forums/thread/35063.aspx</link><pubDate>Mon, 01 Dec 2008 06:13:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35063</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35063.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35063</wfw:commentRss><description>&lt;p&gt;Hey Todd.&lt;/p&gt;
&lt;p&gt;Not sure how complicated you need this to be...&amp;nbsp; I am assuming you are wanting to minimize any coding into the form itself and want it to be as dynamic as possible.&lt;/p&gt;
&lt;p&gt;I am assuming you have a list of Customers that are coming in as a secondary data connection. Obviously if you had additional fields in this list that could flag whether they needed additional information or not or a group number or soimthing the form could respond to this.&lt;/p&gt;
&lt;p&gt;Typically you would just have a section for additional information and then have it hidden by default and use conditional formatting to react to the selection and unhide or not.&lt;/p&gt;
&lt;p&gt;You could have multiple styles and use a designation to have multiple configurations of the extra data.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you saving this data back to a database for further processing and reporting?&lt;/p&gt;</description></item><item><title>Dynamic form/controls</title><link>https://www.infopathdev.com:443/forums/thread/35050.aspx</link><pubDate>Mon, 01 Dec 2008 03:35:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35050</guid><dc:creator>toddkitta</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35050.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35050</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Here is the scenario I am trying to implement in (in a SharePoint forms library):&lt;br /&gt;&lt;br /&gt;I have a standard form that is static for all &amp;quot;customers&amp;quot; (which is a drop down in my form). However, some customers require that custom data be collected if they are selected from the drop down. For example, if the user selected &amp;quot;Acme&amp;quot; from the drop down, they would be presented with some other controls that Acme requires. Fortunately, the experience can be flexible. Meaning I could either show them the controls right away or after they save the first form. However, there are a lot of customers therefore I could not just show/hide dynamic parts of the form. I need to have the static form be standalone and design a separate form (or template part) for each customer.&lt;br /&gt;&lt;br /&gt;Does anyone have ideas about how this would be implemented?&lt;br /&gt;&lt;br /&gt;I initially thought it sounded nice to dynamically load a template part based on the customer that is selected. However, it does not appear this is possible in any way, shape, or form.&lt;br /&gt;&lt;br /&gt;Then I thought I could create a new ASP.NET page and host the XmlFormView control and manage the form lifecycle (saving, etc.) myself. Then after the users saves the first form, I could see which customer they selected and load the second form and then allow them to save that. I think this approach would work, but I&amp;#39;m wondering how I would save the data as one &amp;quot;entity&amp;quot; in the SharePoint forms library.&lt;br /&gt;&lt;br /&gt;In addition, I will have a workflow running against the record in the forms library that needs to be kicked off after they save the first form plus the additional fields if requried by the customer.&lt;br /&gt;&lt;br /&gt;Any thoughts are appreciated.&lt;/p&gt;</description></item></channel></rss>