<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Shanthi Reddy</title><subtitle type="html" /><id>https://www.infopathdev.com:443/blogs/shanthi/atom.aspx</id><link rel="alternate" type="text/html" href="https://www.infopathdev.com:443/blogs/shanthi/default.aspx" /><link rel="self" type="application/atom+xml" href="https://www.infopathdev.com:443/blogs/shanthi/atom.aspx" /><generator uri="http://communityserver.org" version="3.0.31118.962">Community Server</generator><updated>2006-03-24T16:43:00Z</updated><entry><title>URN Solutions: How to Deploy Extranet Forms that Interoperate (Via E-mail) with Your Internal SharePoint Site</title><link rel="alternate" type="text/html" href="https://www.infopathdev.com:443/blogs/shanthi/archive/2006/04/24/URN-Solutions_3A00_-How-to-Deploy-Extranet-Forms-that-Interoperate-_2800_Via-E_2D00_mail_2900_-with-Your-Internal-SharePoint-Site.aspx" /><id>https://www.infopathdev.com:443/blogs/shanthi/archive/2006/04/24/URN-Solutions_3A00_-How-to-Deploy-Extranet-Forms-that-Interoperate-_2800_Via-E_2D00_mail_2900_-with-Your-Internal-SharePoint-Site.aspx</id><published>2006-04-24T23:46:00Z</published><updated>2006-04-24T23:46:00Z</updated><content type="html">&lt;p&gt;&lt;strong&gt;Prerequisites: &lt;/strong&gt;To create&amp;nbsp;an&amp;nbsp;MSI in Office 2003, the SDK needs to be installed.&lt;/p&gt;&lt;p&gt;There are a lot of times when we want someone not logged into the domain to be able to edit a form which needs to be submitted to SharePoint. This can be solved in the following manner. Let&amp;#39;s say that &amp;quot;User A&amp;quot; is a person who works inside the domain and therefore has access to submit to SharePoint and &amp;quot;User B&amp;quot; is a person who is working outside of the domain. The steps would be:&lt;/p&gt;&lt;ol start="1" style="margin-top:0px;margin-bottom:0px;"&gt;&lt;li&gt;User A will create an MSI of the solution. &lt;ol start="1" style="margin-top:0px;margin-bottom:0px;"&gt;&lt;li&gt;Creating an MSI on Office 2003 machine (Needs SDK installed &amp;ndash; see above). &lt;ol start="1" style="margin-top:0px;margin-bottom:0px;"&gt;&lt;li&gt;The SDK contains a tool called regform.exe that creates an MSI. &lt;/li&gt;&lt;li&gt;For help on command used to create the MSI, the &lt;a href="http://www.infopathdev.com/cgi-bin/awredir.pl?url=http://www.qdabra.com/proddetail.asp?prod=QRegForm" target="IPD"&gt;InfoPathDev Regform Command Line Generator Form&lt;/a&gt; can be used. See picture below for details on the form:&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p style="padding-left:120px;"&gt;&lt;img height="695" src="http://cs.infopathdev.com/photos/blog_pictures/images/111/original.aspx" style="width:657px;height:695px;" width="657" /&gt;&lt;/p&gt;&lt;p style="padding-left:120px;"&gt;&lt;em&gt;&lt;strong&gt;Figure 1. &lt;/strong&gt;The InfoPathDev Regform Command Line Generator Form&lt;/em&gt;&lt;/p&gt;&lt;ol start="2" style="margin-top:0px;margin-bottom:0px;"&gt;&lt;ol start="1" style="margin-top:0px;margin-bottom:0px;"&gt;&lt;ol start="3" style="margin-top:0px;margin-bottom:0px;"&gt;&lt;li&gt;Once all details are entered, click on Build to generate the command that needs to be run to create the MSI.&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;ol start="2" style="margin-top:0px;margin-bottom:0px;"&gt;&lt;li&gt;Creating MSI on Office 2007 machine. &lt;ol start="1" style="margin-top:0px;margin-bottom:0px;"&gt;&lt;li&gt;There is an option in the Publish Wizard (available when File -&amp;gt; Publish is clicked) called As An Installable Form Template which will create the MSI.&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;User A will then install this MSI on their machine. &lt;/li&gt;&lt;li&gt;Then User A will open the installed the installed form in design mode. &lt;/li&gt;&lt;li&gt;In the InfoPath window, they will then go to Tools -&amp;gt; Form Options. &lt;/li&gt;&lt;li&gt;In the form Options window, go to the Security tab and uncheck the Automatically determine security level based on form&amp;#39;s design (recommended). &lt;/li&gt;&lt;li&gt;Then select the Restricted radio button and click on OK. &lt;/li&gt;&lt;li&gt;User A will then click on File -&amp;gt; Send form as attachment and send this form as an attachment to User B. Please note that this will require Outlook or Outlook Express to be set up on the machine. &lt;/li&gt;&lt;li&gt;User B will then save the&amp;nbsp;XSN sent and open it on their machine. Please note this is important, as it will put this solution in InfoPath cache of this machine. This step will have to be done on all machines that User B wants to use to edit the InfoPath&amp;nbsp;XML files. &lt;/li&gt;&lt;li&gt;Now both User A and User B can edit the same&amp;nbsp;XML files. When User A wants to send a file over to User B, they will send it via email. &lt;/li&gt;&lt;li&gt;User B can then open the&amp;nbsp;XML file directly. If the InfoPath cache for some reason was cleared or if this specific solution was removed, User B will get an error and can get past that error by doing Step 8 again. &lt;/li&gt;&lt;li&gt;User B will make any edits that they want and send the file back in email top User A. &lt;/li&gt;&lt;li&gt;User A can now open the file and submit it to SharePoint.&lt;/li&gt;&lt;/ol&gt;&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=112" width="1" height="1"&gt;</content><author><name>Shanthi Reddy</name><uri>https://www.infopathdev.com:443/members/Shanthi-Reddy.aspx</uri></author></entry><entry><title>Create Custom Task Pane for Password</title><link rel="alternate" type="text/html" href="https://www.infopathdev.com:443/blogs/shanthi/archive/2006/03/24/Create-Custom-Task-Pane-for-Password.aspx" /><id>https://www.infopathdev.com:443/blogs/shanthi/archive/2006/03/24/Create-Custom-Task-Pane-for-Password.aspx</id><published>2006-03-24T22:43:00Z</published><updated>2006-03-24T22:43:00Z</updated><content type="html">&lt;p&gt;Password fields cannot be created in the InfoPath forms. Therefore, the password fields should be set in the custom task pane.&lt;/p&gt;&lt;p&gt;In this task, we will create a custom task pane HTML file in a text editor and add it to an InfoPath form. We will add a Submit button and also put a function on this button to switch views in the InfoPath Form. After getting the password into a &lt;font face="Courier New"&gt;password&lt;/font&gt; variable, access database to validate your password.&lt;/p&gt;&lt;p&gt;Copy the following code into a text editor and save the file as &lt;strong&gt;Password.html&lt;/strong&gt;.&lt;/p&gt;&lt;p&gt;&lt;table class="msoUcTable" style="table-layout:fixed;width:100%;border-collapse:collapse;word-wrap:break-word;border:medium none;"&gt;&lt;tr&gt;&lt;td align="left" style="background-color:#e6e6e6;border:#e6e6e6 6pt solid;"&gt;&lt;p&gt;&lt;font color="#333399" face="Courier New" style="font-size:10pt;"&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;head&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script language=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var thisXDocument = null;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function initialize()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; thisXDocument = window.external.Window.XDocument;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function changeView()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var userName = tbUser.value;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var password = tbPassword.value;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; /*Access your database to find out if the logged in user is a valid user or not.*/&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; thisXDocument.View.SwitchView(&amp;quot;Main Form&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;/font&gt;&lt;font color="#333399" face="Courier New" style="font-size:10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/script&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/head&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;body onload=&amp;quot;initialize()&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;table&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Username:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;tbUser&amp;quot; id=&amp;quot;tbUser&amp;quot; size=&amp;quot;15&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Password:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type=&amp;quot;password&amp;quot; name=&amp;quot;tbPassword&amp;quot; id=&amp;quot;tbPassword&amp;quot; size=&amp;quot;16&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type=&amp;quot;submit&amp;quot; value=&amp;quot;Submit&amp;quot; onclick=&amp;quot;changeView();&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/table&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Add the&amp;nbsp;HTML file as the Resource file:&lt;/strong&gt;&lt;/p&gt;&lt;ol start="1" style="margin-top:0px;margin-bottom:0px;"&gt;&lt;li&gt;Open InfoPath, click Design A Form, select New Blank Form in the Design A Form task pane. &lt;/li&gt;&lt;li&gt;Choose Form Options from the Tools menu. &lt;/li&gt;&lt;li&gt;Switch to the Advanced Tab, select Enable Custom Task Pane check box, and then click Resource Files. &lt;/li&gt;&lt;li&gt;Click Add, locate the Password.html file that was created above, and then click OK. &lt;/li&gt;&lt;li&gt;Name the task pane Password (as shown in Figure 1), and then click OK to close the Form Options dialog box.&lt;/li&gt;&lt;/ol&gt;&lt;p style="padding-left:40px;"&gt;&lt;img height="544" src="http://cs.infopathdev.com/photos/blog_pictures/images/113/original.aspx" style="width:450px;height:544px;" width="450" /&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;Figure 1. &lt;/strong&gt;Adding the Custom Password Task Pane.&lt;/em&gt;&lt;/p&gt;&lt;ol start="6" style="margin-top:0px;margin-bottom:0px;"&gt;&lt;li&gt;Create a second View and name it as &lt;strong&gt;Main Form&lt;/strong&gt;. &lt;/li&gt;&lt;li&gt;Click on the View Properties in the task pane to open View Properties window. &lt;/li&gt;&lt;li&gt;Uncheck the check box Show On The View Menu When Filling Out The Form under General tab.&lt;/li&gt;&lt;/ol&gt;&lt;p style="padding-left:40px;"&gt;&lt;img height="294" src="http://cs.infopathdev.com/photos/blog_pictures/images/114/original.aspx" style="width:273px;height:294px;" width="273" /&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;Figure 2. &lt;/strong&gt;Add a second view, Main Form in the Views Task pane.&lt;/em&gt;&lt;/p&gt;&lt;ol start="9" style="margin-top:0px;margin-bottom:0px;"&gt;&lt;li&gt;Preview the form and enter the Username and password in the task pane, as shown in Figure 3. &lt;/li&gt;&lt;li&gt;Click on the submit button, The form shifts into second view, Main Form.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;img height="283" src="http://cs.infopathdev.com/photos/blog_pictures/images/115/original.aspx" style="width:264px;height:283px;" width="264" /&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;Figure 3. &lt;/strong&gt;The Completed Task Pane applied to the InfoPath Form.&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;img height="288" src="http://cs.infopathdev.com/photos/blog_pictures/images/116/original.aspx" style="width:633px;height:288px;" width="633" /&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;Figure 4. &lt;/strong&gt;The form switches to the second view when submit button is clicked.&lt;/em&gt;&lt;/p&gt;&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=117" width="1" height="1"&gt;</content><author><name>Shanthi Reddy</name><uri>https://www.infopathdev.com:443/members/Shanthi-Reddy.aspx</uri></author></entry></feed>