<?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: Execute a function when selecting a option button</title><link>https://www.infopathdev.com:443/forums/thread/57057.aspx</link><pubDate>Sat, 17 Jul 2010 13:59:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57057</guid><dc:creator>Skarn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57057.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=57057</wfw:commentRss><description>&lt;p&gt;I think I understand. You want the drop down box to only contain the values which are relevant to certain condition.&lt;/p&gt;
&lt;p&gt;But we need more information about the condition - does it change depending on what the user enter earlier in the form? Maybe you want it to be based on their logged in user name?&lt;/p&gt;
&lt;p&gt;Rather than looking for a &amp;#39;click&amp;#39; event - try and identify at what point it becomes known what options the drop down list should contain and populate it then.&lt;/p&gt;</description></item><item><title>Re: Execute a function when selecting a option button</title><link>https://www.infopathdev.com:443/forums/thread/54632.aspx</link><pubDate>Fri, 07 May 2010 11:57:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54632</guid><dc:creator>alexia_net</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54632.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=54632</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi. Thank you for your answer. Because I have tried to populate it using a dataconnection in the Infopath form and i got an error after publishing it. It was ok if I was chosing Continue, but it is not nice to have that error when you load the form. It has something to do with the password for connecting to the sql database; this is my gess. So i prefere to write code instead. I want to populate the DDL when i click on it because I do not want to have to many elements on that form. How could I populate it in advanced using just code? Thank you!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Execute a function when selecting a option button</title><link>https://www.infopathdev.com:443/forums/thread/54631.aspx</link><pubDate>Fri, 07 May 2010 11:16:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54631</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54631.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=54631</wfw:commentRss><description>&lt;p&gt;The only click events in InfoPath are on buttons, not other controls.&amp;nbsp; If you really want to populate the dropdown based on a click, place a button next to it that is hidden or disabled once the dropdown is populated.&amp;nbsp; You haven&amp;#39;t made it clear, though, why you want to have this behavior instead of populating it in advance.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Execute a function when selecting a option button</title><link>https://www.infopathdev.com:443/forums/thread/54630.aspx</link><pubDate>Fri, 07 May 2010 09:48:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54630</guid><dc:creator>alexia_net</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54630.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=54630</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi. I have understood that and it works fine, but imagine that on a form you have just a drop down list. When you click on it it must be automatically filled. How do u do this? Which event can I use? As I have noticed, it is not possible something like this because there are only to events to be used: validating and onchange. Is this correct? Thank you!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Execute a function when selecting a option button</title><link>https://www.infopathdev.com:443/forums/thread/54629.aspx</link><pubDate>Fri, 07 May 2010 09:26:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54629</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54629.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=54629</wfw:commentRss><description>&lt;p&gt;there is no onclick event on drop down list, what you can do is, write the code on the changed event of option button, since this is going to be editable only when a certain option is selected. i guess your best bet is to populate it on Changed event of option button.&lt;/p&gt;</description></item><item><title>Re: Execute a function when selecting a option button</title><link>https://www.infopathdev.com:443/forums/thread/54627.aspx</link><pubDate>Fri, 07 May 2010 06:39:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54627</guid><dc:creator>alexia_net</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54627.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=54627</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi. Thank you very much. It works very nice. But if I have a drop down list on the form and I want to populate it when I click on it, which enent do I use? If I use change I think it means that i must write something on it first rigth? This would not be the case because it has to be read only.Would Validating work? Thank you!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Execute a function when selecting a option button</title><link>https://www.infopathdev.com:443/forums/thread/54615.aspx</link><pubDate>Thu, 06 May 2010 18:00:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54615</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54615.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=54615</wfw:commentRss><description>&lt;p&gt;right click on the option button -&amp;gt; programming -&amp;gt; changed event.

&lt;/p&gt;</description></item><item><title>Re: Execute a function when selecting a option button</title><link>https://www.infopathdev.com:443/forums/thread/54613.aspx</link><pubDate>Thu, 06 May 2010 17:19:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54613</guid><dc:creator>alexia_net</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54613.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=54613</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi. Can you provide an example please? Thank you.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Execute a function when selecting a option button</title><link>https://www.infopathdev.com:443/forums/thread/54604.aspx</link><pubDate>Thu, 06 May 2010 14:38:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54604</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54604.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=54604</wfw:commentRss><description>&lt;p&gt;Changed event&lt;/p&gt;</description></item><item><title>Re: Execute a function when selecting a option button</title><link>https://www.infopathdev.com:443/forums/thread/54594.aspx</link><pubDate>Thu, 06 May 2010 13:11:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54594</guid><dc:creator>alexia_net</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54594.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=54594</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I was thinking at the gotfokus option but i cannot find it in Infopath for a control. Does it exists?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Execute a function when selecting a option button</title><link>https://www.infopathdev.com:443/forums/thread/54586.aspx</link><pubDate>Thu, 06 May 2010 11:20:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54586</guid><dc:creator>alexia_net</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54586.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=54586</wfw:commentRss><description>&lt;p&gt;Hi. I have managed to enable a dropdownlist (DDL) on the form when I press an option button. My question is how do I execute a function when I press an option button to fill the DDL? How do i connect the radio button with the function? Thank you!&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>