<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>InfoPath Browser Form and Sharepoint Integration questions</title><link>https://www.infopathdev.com:443/forums/thread/52892.aspx</link><pubDate>Thu, 18 Mar 2010 10:25:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52892</guid><dc:creator>steveyau</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52892.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=52892</wfw:commentRss><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m a newbie to InfoPath and SharePoint. But I need to develop a e-form solution with workflow. My browser form have different views and managed codes. I publish that form to SharePoint and approve it. I have a few Form Libraries using that form template. Now, I have several questions regarding InfoPath and Sharepoint. Hope the experts here may give me some hints:&lt;/p&gt;
&lt;p&gt;1. I need to check the login user name, and to which sharepoint group he/she belongs, so that I can enable/disable certain controls for editting. How can I do it in the form load event?&lt;/p&gt;
&lt;p&gt;2. Is there any way to add a control like &amp;quot;label&amp;quot; in Access? I need to display some information when different user open the form. But that label text is not part of form data and I don&amp;#39;t want to save it in the form file.&lt;/p&gt;
&lt;p&gt;3. How can I change the &amp;quot;data validation rule&amp;quot; for different logined user? Say for certain quantity, some users can enter a figure between 1-20, whilst some can enter 1-100 for the same field.&lt;/p&gt;
&lt;p&gt;4. Regarding web-form printing issue, when I tried to print a form, how can I control the height of a multi-lined text box? The height of a multi-line text box was fixed at design-time. If user has typed a long passage that goes beyond the height, a vertical scroll bar will be printed and not all the text in that box. Is there any way to overcome this?&lt;/p&gt;
&lt;p&gt;5. I have setup a few Form Libraries in SharePoint using that single form template. The purpose of splitting a large form library is to provide&amp;nbsp;better security control. After a form is completed by a certain party, a workflow action may move the form to another library, so that the editing privilege can be transferred from one party to another party. Now my question is when the form has moved to a new library, I want to use a different view. How can I do this in the form load event? Basically, I need to know which Form Library that the current form is now residing so that I can open different view.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m stuck with the InfoPath object model and don&amp;#39;t know how to proceed. Can someone give me some hints, and possibly with sample code? Or can you comment on the design if I need to think other way round?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Best Regards&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Steve Yau&lt;/p&gt;</description></item></channel></rss>