<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Change the insert text of an optionnal section</title><link>https://www.infopathdev.com:443/forums/thread/13554.aspx</link><pubDate>Mon, 12 Sep 2005 05:43:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13554</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13554.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13554</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Thanks for your answer!&lt;br /&gt;&lt;br /&gt;But this is not what I want to do! I don't want to slow down my form with this kind of conditionnal formatting! My form is very big and take a lot of memory ! So I can't do this&lt;br /&gt;&lt;br /&gt;What I need is an idea about how to modify the view.xsl with a c# code? Is it possible? Other idea about how to proceed?&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Thierry&lt;br /&gt;&lt;br /&gt;Every moment hesitated is a moment gone for life!!! Think about it</description></item><item><title>Re: Change the insert text of an optionnal section</title><link>https://www.infopathdev.com:443/forums/thread/13553.aspx</link><pubDate>Fri, 09 Sep 2005 14:24:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13553</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13553.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13553</wfw:commentRss><description>Well, to start just set the "click here to insert" text that you find in the repeating table properties box to "" and proceed to add it back with your own, customizable button. 2 ideas:&lt;br /&gt;&lt;br /&gt;&lt;u&gt;If the form needs to look "pretty" and very user friendly:&lt;/u&gt;&lt;br /&gt;Put in 4 buttons with the 4 different languages and set up a hidden field signifying which button to display (button_display). Use conditional formatting on each of the buttons so that they are "hidden" except when button_display=="english". Then in your OnLoad, just set the hidden data field to whatever language you're using and only that button will appear. In the code that makes the button work you'll have to insert a blank row in the repeating table that you're working with. Also, all four buttons should call the same function of course.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;If it's no big deal:&lt;/u&gt;&lt;br /&gt;Do the same thing above, except just use a text box and change the content of the text box OnLoad(). Instead of putting the addRow() function into a button event, just put it in the onBeforeChange() event of the text box so that when they click it, it will call and insert a row.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;---------------&lt;br /&gt;Matt Faus&lt;br /&gt;</description></item><item><title>Change the insert text of an optionnal section</title><link>https://www.infopathdev.com:443/forums/thread/12558.aspx</link><pubDate>Thu, 08 Sep 2005 07:57:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12558</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12558.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12558</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;In infopath you have optionnal section and you can give a text:&lt;br /&gt;&lt;br /&gt;click here to insert!&lt;br /&gt;&lt;br /&gt;Is it possible to change the value of this text? It's for a multilingual use!&lt;br /&gt;&lt;br /&gt;"click here to insert" become "Cliquez ici pour insérer".&lt;br /&gt;&lt;br /&gt;I have four possibility for this text. That depends on attribute Lang contain in primary datasource define on the onload event of my form&lt;br /&gt;&lt;br /&gt;The 4 possiblity:&lt;br /&gt;&lt;br /&gt;@Lang="1" German "Klicken Sie hier, um den Abschnitt einzufügen"&lt;br /&gt;@Lang="2" French "Cliquez ici pour insérer"&lt;br /&gt;@Lang="3" Italian "Fare clic qui per inserire"&lt;br /&gt;@Lang="4" English "Click here to insert"&lt;br /&gt;&lt;br /&gt;What is the best way to change this text by another modify view.xsl make a C# code?&lt;br /&gt;&lt;br /&gt;Thanks for your feedbacks&lt;br /&gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Thierry&lt;br /&gt;&lt;br /&gt;Every moment hesitated is a moment gone for life!!! Think about it</description></item></channel></rss>