<?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: Function - username() - Not updating depending on what user is using file</title><link>https://www.infopathdev.com:443/forums/thread/53072.aspx</link><pubDate>Wed, 24 Mar 2010 06:07:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53072</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53072.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=53072</wfw:commentRss><description>&lt;p&gt;set rule opening to set the value of fieldA to username()&lt;/p&gt;
&lt;p&gt;to do so &lt;/p&gt;
&lt;p&gt;open your template go to &lt;/p&gt;
&lt;p&gt;tools -&amp;gt; form options -&amp;gt; open and save -&amp;gt; Rules&lt;/p&gt;</description></item><item><title>Function - username() - Not updating depending on what user is using file</title><link>https://www.infopathdev.com:443/forums/thread/53065.aspx</link><pubDate>Wed, 24 Mar 2010 01:54:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53065</guid><dc:creator>nobbsy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53065.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=53065</wfw:commentRss><description>&lt;p&gt;Hi All, &lt;/p&gt;
&lt;p&gt;I have a form which uses the userName function. Depending on who is using the file different aspects on the form become available/unavailable. &lt;/p&gt;
&lt;p&gt;So field &amp;quot;A&amp;quot; whose value is set by the function username() gets populated by the AD name they are logged in as. Problem is i initially fill out the form and submit it, so my username is entered into field &amp;quot;A&amp;quot;, then person B goes intot he file to update and resubmit, but the Field &amp;quot;A&amp;quot; has not updated with their username, mine is still&amp;nbsp;in there, thus the sections on the form which need to come available have not. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any help would be great. &lt;/p&gt;
&lt;p&gt;&lt;br /&gt;thanks&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>