<?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>Re: is it possible to alter the textarea width and height dynamically on browser enabled forms?</title><link>https://www.infopathdev.com:443/forums/thread/66705.aspx</link><pubDate>Fri, 20 May 2011 13:11:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66705</guid><dc:creator>raminou</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66705.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=66705</wfw:commentRss><description>&lt;p&gt;Thanks for your reply. Actually we&amp;#39;ve thought about this and we kept it for last resort. This is because the widths and heights of textareas are coming from SharePoint list for maintenance ease. &lt;/p&gt;
&lt;p&gt;Maybe we&amp;#39;ve forgotten to mention that this a&amp;nbsp;SharePoint list.&lt;/p&gt;
&lt;p&gt;Any other suggestions are welcomed.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: is it possible to alter the textarea width and height dynamically on browser enabled forms?</title><link>https://www.infopathdev.com:443/forums/thread/66701.aspx</link><pubDate>Fri, 20 May 2011 12:43:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66701</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66701.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=66701</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;You can have multiple controls associated with the same node in the schema. Each of these controls can have a different size. Then just hide/show the appropriate control based on the dropdown selection. No code!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>is it possible to alter the textarea width and height dynamically on browser enabled forms?</title><link>https://www.infopathdev.com:443/forums/thread/66700.aspx</link><pubDate>Fri, 20 May 2011 07:51:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66700</guid><dc:creator>raminou</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66700.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=66700</wfw:commentRss><description>&lt;span style="FONT-SIZE:11pt;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;span style="mso-ansi-language:EN-US;"&gt;Hi,&lt;/span&gt;&lt;span style="mso-ansi-language:EN-US;"&gt;We have a request to change the size (width and heights) of a textarea based on values from a dropdown list. All should be browser enabled.&lt;/span&gt;&lt;span style="mso-ansi-language:EN-US;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-US;"&gt;We have tried the following:&lt;/span&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;mso-ansi-language:EN-US;"&gt;&lt;span style="mso-list:Ignore;"&gt;1.&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-US;"&gt;Alter the view.xsl to add dynamic&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;width and heights as so:&lt;/span&gt;&lt;span style="mso-ansi-language:EN-US;"&gt;&amp;lt;span&amp;gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-US;"&gt;&amp;lt;xsl:attribute name=”style”&amp;gt;Width:&amp;lt;value-of select=”my:width”&amp;gt; …&lt;/span&gt;&lt;span style="mso-ansi-language:EN-US;"&gt;This, as expected, worked on infopath, but as soon as we published the form, infopath deleted our modifications on the xsl.&lt;/span&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;mso-ansi-language:EN-US;"&gt;&lt;span style="mso-list:Ignore;"&gt;2.&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-US;"&gt;We tried the Jquery approach based on this blog &lt;a href="http://riteshudupak.blogspot.com/2010/09/add-jquery-to-browser-enabled-infopath.html"&gt;&lt;span style="COLOR:black;mso-style-textfill-fill-color:black;mso-style-textfill-fill-alpha:100.0%;"&gt;&lt;span style="COLOR:black;mso-style-textfill-fill-color:black;mso-style-textfill-fill-alpha:100.0%;"&gt;&lt;font face="Times New Roman"&gt;http://riteshudupak.blogspot.com/2010/09/add-jquery-to-browser-enabled-infopath.html&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt; .&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-US;"&gt;This approach works when loading the form, but anything related to dropdown (where my values are somehow stored) OnChange event do not fire. It seems that the Jquery could only be loaded and executed once at load time.&lt;/span&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;mso-ansi-language:EN-US;"&gt;&lt;span style="mso-list:Ignore;"&gt;3.&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-US;"&gt;Code approach not supported by browser enabled forms&lt;/span&gt;&lt;span style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;mso-ansi-language:EN-US;"&gt;&lt;span style="mso-list:Ignore;"&gt;4.&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-US;"&gt;Preserve code block on xsl not supported by browser enabled forms&lt;/span&gt;&lt;span style="mso-ansi-language:EN-US;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-US;"&gt;We are as of today desperate as we tried everything we know and nothing seems to work.&lt;/span&gt;&lt;span style="mso-ansi-language:EN-US;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-US;"&gt;Our question is: is it possible to alter the textarea width and height dynamically on browser enabled forms. If yes, what would be the approach?&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;If no, we will have to reengineer our entire solution.&lt;/span&gt;&lt;span style="mso-ansi-language:EN-US;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-US;"&gt;Thank you for your helps&lt;/span&gt; 
&lt;p&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>