<?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: Load Form based on user input</title><link>https://www.infopathdev.com:443/forums/thread/65064.aspx</link><pubDate>Thu, 10 Mar 2011 17:07:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65064</guid><dc:creator>wbeard52</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65064.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=65064</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve solved my dilemma... mostly.&amp;nbsp; The only issue is that now all of the tests and their data is loaded into every form slowing down how quickly the form loads and returns data.&lt;/p&gt;
&lt;p&gt;On the very top of my form I created the interface for the user to be able to select the test they want to take.&amp;nbsp; Below that I have the interface for the test itself.&amp;nbsp; Once the user selects the test via a command prompt, the @TestType node for the users test is populated.&amp;nbsp; This sets off a chain of events.&amp;nbsp; &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;The selected test interface is hidden through a conditional format stating if @TestType is not blank then hide itself&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;The repeating section defining the test questions and possible answers are populated via visual basic code (ran under the change event of the @TestType node) and filters on the controls&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;The test interface is shown through a conditional format stating if @TestType is blank then hide itself.&amp;nbsp; Since it is no longer blank, the test interface is shown.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;When the user has finished taking the test and has submitted it.&amp;nbsp; The form is reopened and the user is again presented with the interface to select the test.&amp;nbsp; The difference this time, is the previously taken test has turned colors and the command button disabled indicating the test was previously taken.&lt;/p&gt;</description></item><item><title>Load Form based on user input</title><link>https://www.infopathdev.com:443/forums/thread/64942.aspx</link><pubDate>Mon, 07 Mar 2011 22:23:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64942</guid><dc:creator>wbeard52</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64942.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64942</wfw:commentRss><description>&lt;p&gt;I have a form that will load test questions from multiple tests.&amp;nbsp; I would like the user to select a test and only those test questions populate the rest of the form.&amp;nbsp; What is the best way of achieving this?&amp;nbsp; &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Is it possible to change the SQL query at load time to only retrieve that one specific test?&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Is it possible to have an initial view where the user selects the test to take and then the other view shows up?&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Is it possible to create a form where the user can select the test and then pass that test ID to the InfoPath form?&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;I am doing this all within InfoPath and the provided VB.net libraries.&amp;nbsp; I am working on providing an interface where the user can see the different tests they are requried to take and be able to select one to take.&amp;nbsp; I have the InfoPath form set up in such a way that when I pass the Test ID to the InfoPath XPath, the rest of the form configures itself appropriately using filters.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks for your willingness to help&lt;/p&gt;</description></item></channel></rss>