<?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: Textbox Shading controls</title><link>https://www.infopathdev.com:443/forums/thread/31998.aspx</link><pubDate>Thu, 04 Sep 2008 15:35:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31998</guid><dc:creator>ljagarlamudi@gmail.com</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31998.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31998</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I am working on a similar issue in infopath 2007, the form is browser enabled.&lt;/p&gt;
&lt;p&gt;Could you please suggest a way to accomplish the same behaviour in browser enabled infopath form?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Textbox Shading controls</title><link>https://www.infopathdev.com:443/forums/thread/22656.aspx</link><pubDate>Mon, 27 Aug 2007 00:19:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22656</guid><dc:creator>Sunny</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22656.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=22656</wfw:commentRss><description>&lt;p&gt;Hi Shiva,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank you very much for that. It worked great!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Cheers&lt;/p&gt;</description></item><item><title>Re: Textbox Shading controls</title><link>https://www.infopathdev.com:443/forums/thread/22618.aspx</link><pubDate>Fri, 24 Aug 2007 10:14:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22618</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22618.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=22618</wfw:commentRss><description>&lt;p&gt;Hi Sunny Welcome to the Forums, &lt;/p&gt;
&lt;p&gt;It is little bit complicated to shading the text box color when focus is on that filed. But we can it by using code. &lt;/p&gt;
&lt;p&gt;You have to add new node(FocusFieldName) in secondary dom. You have to write the below code in OnContextChange event. &lt;/p&gt;
&lt;p&gt;string nodeName = e.Context.nodeName; &lt;/p&gt;
&lt;p&gt;secondaryDOM.selectSingleNode(&amp;quot;Node Path of your focus field name&amp;quot;, nodeName).text = nodeName; &lt;/p&gt;
&lt;p&gt;This function executes when ever context is changed any selection or any focus is changes in the form. For every time we will set the focus field name in your ‘FocusFieldName’ node. Add condition formatting to each and every field to change the field color when focus is changed. &lt;/p&gt;
&lt;p&gt;Condition should be like: &lt;/p&gt;
&lt;p&gt;//Left side name of selected field and right side whichever we set the focus field name. &lt;/p&gt;
&lt;p&gt;name(my:BriefNumber) = secondaryDOM.selectSingleNode(&amp;quot;Node Path of your focus field name&amp;quot;) .text;&lt;/p&gt;
&lt;p&gt;Hope this helps you &lt;/p&gt;</description></item><item><title>Textbox Shading controls</title><link>https://www.infopathdev.com:443/forums/thread/22610.aspx</link><pubDate>Fri, 24 Aug 2007 07:07:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22610</guid><dc:creator>Sunny</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22610.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=22610</wfw:commentRss><description>&lt;p&gt;Is there a way of shading the textbox to a certain color if it has the focus&lt;/p&gt;
&lt;p&gt;meaning, I want the text box to change color as soon as someone clicks on it to highlight the fact that thats where the cursor is currently.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;And when another text box is clicked then that should be shaded and the last one&amp;#39;s shading should disappear.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any ideas?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks in advance.&lt;/p&gt;</description></item></channel></rss>