<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Method is not activated??</title><link>https://www.infopathdev.com:443/forums/thread/10350.aspx</link><pubDate>Mon, 21 Aug 2006 13:46:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10350</guid><dc:creator>Millie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10350.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10350</wfw:commentRss><description>hi&lt;br /&gt;Thanks for your interest in helping me!&lt;br /&gt;Luckily I just managed to solve the problem!&lt;br /&gt;I can do this without code but with the help of rules. In fact really simple, but what is not simple when you know the solution?!&lt;br /&gt;&lt;br /&gt;Thanks again,&lt;br /&gt;Millie&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: Method is not activated??</title><link>https://www.infopathdev.com:443/forums/thread/10349.aspx</link><pubDate>Mon, 21 Aug 2006 11:18:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10349</guid><dc:creator>mbenbow</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10349.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10349</wfw:commentRss><description>Hey,&lt;br /&gt;&lt;br /&gt;When is the data automatically being filled in?  Is it when the form is loaded or when the user clicks a button?&lt;br /&gt;&lt;br /&gt;MB</description></item><item><title>Method is not activated??</title><link>https://www.infopathdev.com:443/forums/thread/5797.aspx</link><pubDate>Mon, 21 Aug 2006 10:02:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5797</guid><dc:creator>Millie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5797.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5797</wfw:commentRss><description>Hi&lt;br /&gt;I am automatically filling several fields. Now I want following:&lt;br /&gt;If one of the automatically filled fields is filled with a String that contains "BB" Infopath should write "BigBreakfast" in another field.&lt;br /&gt;Well I wrote some code, but now I get desparate because this code is never called! I tried several methods like "OnAfterChange" or "OnValidation" but its wrong.&lt;br /&gt;&lt;br /&gt;And, by the way, my code is following:&lt;br /&gt;"function msoxd_my_Field::OnValidate(eventObj)&lt;br /&gt;{&lt;br /&gt; var input = XDocument.DOM.selectSingleNode("/dfs:myFields/my:Field");&lt;br /&gt; if (input.text == "%BB%")&lt;br /&gt; XDocument.DOM.selectSingleNode("/dfs:myFields/my:Field").text =BigBreakfast;"&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;millie</description></item></channel></rss>