<?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: Single View Multiple FOrm Choices</title><link>https://www.infopathdev.com:443/forums/thread/6565.aspx</link><pubDate>Thu, 10 Mar 2005 09:52:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6565</guid><dc:creator>potpourri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6565.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6565</wfw:commentRss><description>hey super thanks for the prompt reply :)&lt;br /&gt;&lt;br /&gt;I can understand the part of using diff sections and applying conditional formatting on them.&lt;br /&gt;but I absolutely have no idea as how to upload XML schema dynamically to a section.&lt;br /&gt;&lt;br /&gt;I can only know how to upload an XML file content dynamically to a drop down list like:&lt;br /&gt;&lt;br /&gt;------------------------------------------------------------------&lt;br /&gt;var department = XDocument.DataObjects.Item("choice");&lt;br /&gt;department.Query();&lt;br /&gt;var departmentDOM = XDocument.GetDOM("choice");&lt;br /&gt;if (departmentDOM.childNodes.length &amp;gt; 0) &lt;br /&gt;{&lt;br /&gt;	departmentDOM.removeChild( departmentDOM.childNodes.item(0));&lt;br /&gt;}&lt;br /&gt;	&lt;br /&gt;if ( &amp;lt;condition&amp;gt; )	&lt;br /&gt;        department.QueryAdapter.FileURL = "choice.xml";&lt;br /&gt;		&lt;br /&gt;department.Query();&lt;br /&gt;XDocument.View.ForceUpdate();&lt;br /&gt;------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Would this roughly be the same method?&lt;br /&gt;&lt;br /&gt;cheers :)&lt;br /&gt;</description></item><item><title>Re: Single View Multiple FOrm Choices</title><link>https://www.infopathdev.com:443/forums/thread/6564.aspx</link><pubDate>Thu, 10 Mar 2005 08:07:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6564</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6564.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6564</wfw:commentRss><description>Create a bunch of sections, and use conditional visibility and rules to display them.</description></item><item><title>Single View Multiple FOrm Choices</title><link>https://www.infopathdev.com:443/forums/thread/4578.aspx</link><pubDate>Thu, 10 Mar 2005 06:10:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4578</guid><dc:creator>potpourri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4578.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4578</wfw:commentRss><description>I have a situation:&lt;br /&gt;&lt;br /&gt;I'm creating a form with the following fields:&lt;br /&gt;--------------------------------------&lt;br /&gt;1. name: &amp;lt;text box&amp;gt;&lt;br /&gt;2. date lodged: &amp;lt;date picker&amp;gt;&lt;br /&gt;3. process type: &amp;lt;dropdown list&amp;gt;&lt;br /&gt;   a) signup&lt;br /&gt;   b) login&lt;br /&gt;   c) purchase&lt;br /&gt;&lt;br /&gt;   create form &amp;lt;submit button&amp;gt;&lt;br /&gt;--------------------------------------&lt;br /&gt;&lt;br /&gt;If user pick on "signup" from the dropdown list, there would appear an extra table layout at the botton of the submit button with fields specific to the signup process.&lt;br /&gt;Same situation with user picking "login", there would appear an extra table at the bottom with fields specific to the login.&lt;br /&gt;&lt;br /&gt;Trouble is, I'm having trouble in implementing this.&lt;br /&gt;I don't want to use XDocument.View.SwitchView in appearing fields specific to the subtype forms since it means I have to re-create another 3 views for all of this.&lt;br /&gt;&lt;br /&gt;Can you at least point out to me how to upload XML schema dynamically to a choice section depending on user choice from the drop down menu?&lt;br /&gt;&lt;br /&gt;thanks :D</description></item></channel></rss>