<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Modifying Control Default Values from C#</title><link>https://www.infopathdev.com:443/forums/thread/29829.aspx</link><pubDate>Thu, 26 Jun 2008 18:46:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29829</guid><dc:creator>shekar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29829.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=29829</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Set rule on CustomValue(text field) field which enable the &amp;quot;other&amp;quot; check box after user enters their own value.&lt;/p&gt;
&lt;p&gt;Hope this helps you.&lt;/p&gt;</description></item><item><title>Modifying Control Default Values from C#</title><link>https://www.infopathdev.com:443/forums/thread/28874.aspx</link><pubDate>Thu, 22 May 2008 15:11:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28874</guid><dc:creator>DragonX2</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28874.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=28874</wfw:commentRss><description>&lt;p&gt;I am working on a form, where&amp;#39;s there&amp;#39;s several options, including &amp;quot;other&amp;quot;. When the user chooses other, a textbox is enabled and allows the user to define their own value. Here&amp;#39;s where my problem comes in. Once the user enters their own value, the &amp;quot;other&amp;#39; attribute becomes unchecked. The textbox is still enabled, with the user-defined value, but without that box checked, it creates all sorts of confusion.&lt;/p&gt;&lt;p&gt;&amp;nbsp;My &amp;quot;solution&amp;quot; for that problem, was to actually modify the &amp;quot;other&amp;quot;&amp;#39;s default value once the user inputs their own values. In doing so, the &amp;quot;other&amp;quot; option actually becomes enabled. However, I cannot figure out how to do it. I tried playing around in C#, but I cannot find anything that can modify that control&amp;#39;s default value. &lt;/p&gt;&lt;p&gt;&amp;nbsp;Any ideas?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Desired Output: &lt;/p&gt;&lt;p&gt;[ ] option a&lt;br /&gt;[ ] option b&lt;br /&gt;[x] other &lt;u&gt;Custom Value&lt;/u&gt;&lt;/p&gt;&lt;p&gt;Actual Output:&lt;/p&gt;&lt;p&gt;[ ] option a&lt;br /&gt;
[ ] option b&lt;br /&gt;
[ ] other &lt;u&gt;Custom Value&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>