<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: PlaceHolder text not getting updated</title><link>https://www.infopathdev.com:443/forums/thread/37218.aspx</link><pubDate>Fri, 16 Jan 2009 13:05:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37218</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37218.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=37218</wfw:commentRss><description>Hi Sai Krishna, 
&lt;p&gt;I have followed the steps what you said. Every thing is working fine. Place holder is visible after clicking the button also. Can you attach the form that you are using? So that we may help you.&lt;/p&gt;</description></item><item><title>Re: PlaceHolder text not getting updated</title><link>https://www.infopathdev.com:443/forums/thread/37216.aspx</link><pubDate>Fri, 16 Jan 2009 12:17:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37216</guid><dc:creator>saikrishna171</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37216.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=37216</wfw:commentRss><description>Hi, 
no luck even now.
This is what i did.
1  Added TextBox to InfoPath.
2  Added PlaceHolder to this TextBox
3  Added Button to infopath
4 Through VSTA Coding, does this thisXDocument.DOM.selectSingleNode(&amp;quot;/my:myFields/my:field1&amp;quot;).nodeTypedValue = string.Empty;
5 Preview the form, placeholder is visible
6 click the button, the placeholder is deleted.(although there is no text n the textbox)

Regards,
SaiKrishna</description></item><item><title>Re: PlaceHolder text not getting updated</title><link>https://www.infopathdev.com:443/forums/thread/37215.aspx</link><pubDate>Fri, 16 Jan 2009 12:07:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37215</guid><dc:creator>madhuri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37215.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=37215</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Try by deleting the text box and readd it and add the placeholder again and then build the solution.&lt;/p&gt;</description></item><item><title>Re: PlaceHolder text not getting updated</title><link>https://www.infopathdev.com:443/forums/thread/37212.aspx</link><pubDate>Fri, 16 Jan 2009 11:56:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37212</guid><dc:creator>saikrishna171</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37212.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=37212</wfw:commentRss><description>thanks again, for the reply.
I am doing just this.
The textbox value becomes null but placeholder is gone.

Regards,
SaIkrishna</description></item><item><title>Re: PlaceHolder text not getting updated</title><link>https://www.infopathdev.com:443/forums/thread/37211.aspx</link><pubDate>Fri, 16 Jan 2009 11:45:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37211</guid><dc:creator>madhuri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37211.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=37211</wfw:commentRss><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1.Open infopath in design mode&lt;br /&gt;2.Right click on the text box&lt;br /&gt;3.Select Text Box Properties&lt;br /&gt;4.Click on Display tab&lt;br /&gt;5.In Placehoder text box, type the text&lt;br /&gt;6.Click ok&lt;br /&gt;7.Add a button and write a code on it&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: PlaceHolder text not getting updated</title><link>https://www.infopathdev.com:443/forums/thread/37210.aspx</link><pubDate>Fri, 16 Jan 2009 11:33:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37210</guid><dc:creator>saikrishna171</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37210.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=37210</wfw:commentRss><description>thanks for reply.
Please explain, for which event did that work.
I have a button on whose click, i am trying to set the textbox value as string.empty(i am able to set the textbox value as null) but placeholder is gone.

Regards,
Saikrishna</description></item><item><title>Re: PlaceHolder text not getting updated</title><link>https://www.infopathdev.com:443/forums/thread/37207.aspx</link><pubDate>Fri, 16 Jan 2009 11:05:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37207</guid><dc:creator>madhuri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37207.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=37207</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I tried by setting the text box value to string.empty&amp;nbsp; in onclick event and it is working fine.Can you check once again the placeholder text in the text box.&lt;/p&gt;</description></item><item><title>PlaceHolder text not getting updated</title><link>https://www.infopathdev.com:443/forums/thread/37205.aspx</link><pubDate>Fri, 16 Jan 2009 10:41:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37205</guid><dc:creator>saikrishna171</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37205.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=37205</wfw:commentRss><description>Hi,

I have a textbox(&amp;quot;/my:myFields/my:otherQualityReviewers&amp;quot;) which has a placeholder text that reads like this &amp;quot; click and type&amp;quot;.
When i set the value of this textbox to null or string.empty through code. as below, the placeholder is lost.
thisXDocument.DOM.selectSingleNode(&amp;quot;/my:myFields/my:otherQualityReviewers&amp;quot;).nodeTypedValue = string.Empty;

Please let me know, what i must do to ensure placeholder is visible after code manipulation.

Regards,
Saikrishna</description></item></channel></rss>