<?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: Template will not display UserName - 2007</title><link>https://www.infopathdev.com:443/forums/thread/82116.aspx</link><pubDate>Wed, 29 Aug 2012 17:26:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82116</guid><dc:creator>Shayaan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82116.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=82116</wfw:commentRss><description>&lt;p&gt;Is it 2007 or 2010?&lt;/p&gt;
&lt;p&gt;I am on 2007 and don&amp;#39;t see the options you mentioned above.&lt;/p&gt;</description></item><item><title>Re: Template will not display UserName - 2007</title><link>https://www.infopathdev.com:443/forums/thread/82087.aspx</link><pubDate>Wed, 29 Aug 2012 04:51:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82087</guid><dc:creator>Gennady Vanin (Геннадий Ванин, Новосибирск)</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82087.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=82087</wfw:commentRss><description>&lt;p&gt;I checked that it works for me in 2010 upon publishing to lists and libraries&lt;/p&gt;&lt;p&gt;Though in Infopath filler/client form it shows the short username from Windows of client machine (in my case &lt;b&gt;Administrator&lt;/b&gt;) and in browser form the sharepoint username (in my case &lt;b&gt;i:0#.f|membership|gennadyvanin@gennadyvanin.onmicrosoft.com&lt;/b&gt;)&lt;/p&gt;&lt;p&gt;&amp;nbsp;Have you published the template after having set textbox Properties value to &amp;#39;UserName&amp;#39; using Function button and creating a new template with a new template? Default value will not show up create a form it with an earlier (published) template or edit the earlier saved/submitted form with already saved (for example, blank) value of text box. &amp;nbsp; &lt;/p&gt;You would probably want to set the textbox value&amp;nbsp; with a rule on Form Load (under Data tab in ribbon) instead of default value.&amp;nbsp; &lt;br /&gt;</description></item><item><title>Template will not display UserName - 2007</title><link>https://www.infopathdev.com:443/forums/thread/82080.aspx</link><pubDate>Wed, 29 Aug 2012 00:00:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82080</guid><dc:creator>Shayaan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82080.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=82080</wfw:commentRss><description>&lt;p&gt;I have added a TexBox control and set its Properties value to &amp;#39;UserName&amp;#39; using Function button.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;When I &amp;#39;Preview&amp;#39; the form; it does display username in it but when I launch application; the TexBox is blank.&lt;/p&gt;
&lt;p&gt;How do I get it to display the UserName in the TexBox control?&lt;/p&gt;</description></item></channel></rss>