<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Cannot clear username() in a field on form close</title><link>https://www.infopathdev.com:443/forums/thread/76955.aspx</link><pubDate>Thu, 29 Mar 2012 02:14:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76955</guid><dc:creator>Jo-Anne Alfafara</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76955.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=76955</wfw:commentRss><description>&lt;p&gt;Hi Doreen,&lt;/p&gt;&lt;p&gt;Thank you for posting your solution. I&amp;#39;m glad you figured it out! &lt;/p&gt;</description></item><item><title>Cannot clear username() in a field on form close</title><link>https://www.infopathdev.com:443/forums/thread/76915.aspx</link><pubDate>Tue, 27 Mar 2012 22:13:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76915</guid><dc:creator>Doreen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76915.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=76915</wfw:commentRss><description>&lt;p&gt;My solution was to remove the default value of &lt;em&gt;userName()&lt;/em&gt;&amp;nbsp;on the field. And instead set the value for the field&amp;nbsp;on form load behavior rules. Then remove all&amp;nbsp;rules to clear this field when form is submitted.&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;I think I had too many rules of the same sort conflicting with each other and it just got confused!&lt;/p&gt;&lt;p&gt;&amp;nbsp;It&amp;#39;s so simple this way and works as it should.&lt;/p&gt;</description></item></channel></rss>