<?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: Make a text field is highlighted if it is not fill in</title><link>https://www.infopathdev.com:443/forums/thread/123745.aspx</link><pubDate>Tue, 15 Dec 2020 18:26:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123745</guid><dc:creator>Evanz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123745.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123745</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Got it, thanks!:-)&lt;/p&gt;</description></item><item><title>Re: Make a text field is highlighted if it is not fill in</title><link>https://www.infopathdev.com:443/forums/thread/123744.aspx</link><pubDate>Tue, 15 Dec 2020 18:19:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123744</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123744.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123744</wfw:commentRss><description>Yeah - you could always add another translate to the rule that sets test comment - translate out the space character as well. I think on the comment field you should add similar rules to those on submit so that the same logic is applied when the comment field changes.</description></item><item><title>Re: Make a text field is highlighted if it is not fill in</title><link>https://www.infopathdev.com:443/forums/thread/123743.aspx</link><pubDate>Tue, 15 Dec 2020 18:10:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123743</guid><dc:creator>Evanz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123743.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123743</wfw:commentRss><description>&lt;p&gt;Good morning Hilary,&lt;/p&gt;&lt;p&gt;Thank you so much for all your efforts to make a handful of changes. I really appreciate it. I just tested the form which works&amp;nbsp;properly. :-) Just one thing I realized is that the form still allows to submit the form just to having spaces in the text field. I think a zero-width space is a trick part to remove, but I assume it&amp;#39;s rarely happened when the user makes edits and leaves only spaces in the text field. &lt;/p&gt;&lt;p&gt;One&amp;nbsp;more minor thing: when making edits to the text field, the text&amp;nbsp;field is still&amp;nbsp;highlighted even though I click out&amp;nbsp;of the text field. The highlighted field will only be disappeared when hitting the &amp;quot;Submit&amp;quot; button. &amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks again,&lt;/p&gt;&lt;p&gt;Have a great day! :-) &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Make a text field is highlighted if it is not fill in</title><link>https://www.infopathdev.com:443/forums/thread/123742.aspx</link><pubDate>Tue, 15 Dec 2020 16:01:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123742</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123742.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123742</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;So - I made a handful of changes here. First, I made sure that your helper &amp;quot;highlight&amp;quot; field gets set to blank at the beginning of the submit rules (I think I left your submit rule disabled in this copy, so check that too). I also set it blank on form load - of course, if you are setting to blank as part of submit, you won&amp;#39;t need that, but I wanted your existing test form to work properly.&lt;/p&gt;&lt;p&gt;I added another field&amp;nbsp;and am setting&amp;nbsp;that to the value of the comment field, removing special carriage return characters (referencing this blog post: &lt;a href="http://johnliu.net/blog/2011/11/22/infopath-removing-newline-crlf-using-rules.html"&gt;http://johnliu.net/blog/2011/11/22/infopath-removing-newline-crlf-using-rules.html&lt;/a&gt;). Even then, there was a single char remaining in the test field - I decided to work on the assumption that a single character comment could be considered &amp;quot;blank&amp;quot; - hopefully that&amp;#39;s ok. Apparently it is a zero-width space, and I can&amp;#39;t figure out how to remove that. :)&lt;/p&gt;</description></item><item><title>Re: Make a text field is highlighted if it is not fill in</title><link>https://www.infopathdev.com:443/forums/thread/123739.aspx</link><pubDate>Tue, 15 Dec 2020 02:25:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123739</guid><dc:creator>Evanz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123739.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123739</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Just take your time. No rush. Much appreciated for all your help! :) &lt;/p&gt;</description></item><item><title>Re: Make a text field is highlighted if it is not fill in</title><link>https://www.infopathdev.com:443/forums/thread/123738.aspx</link><pubDate>Tue, 15 Dec 2020 01:04:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123738</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123738.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123738</wfw:commentRss><description>I haven&amp;#39;t figured out anything yet - but I&amp;#39;ll take a look in the morning.</description></item><item><title>Re: Make a text field is highlighted if it is not fill in</title><link>https://www.infopathdev.com:443/forums/thread/123737.aspx</link><pubDate>Tue, 15 Dec 2020 00:51:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123737</guid><dc:creator>Evanz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123737.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123737</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Sweet. Thank you so much for your workaround on this! :) &lt;/p&gt;</description></item><item><title>Re: Make a text field is highlighted if it is not fill in</title><link>https://www.infopathdev.com:443/forums/thread/123736.aspx</link><pubDate>Mon, 14 Dec 2020 23:19:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123736</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123736.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123736</wfw:commentRss><description>Yup, Comments is not blank - it has HTML tags in it. :) I&amp;#39;ll see if can come up with a work-around for you later today.</description></item><item><title>Re: Make a text field is highlighted if it is not fill in</title><link>https://www.infopathdev.com:443/forums/thread/123735.aspx</link><pubDate>Mon, 14 Dec 2020 23:09:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123735</guid><dc:creator>Evanz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123735.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123735</wfw:commentRss><description>Here are another screenshots.</description></item><item><title>Re: Make a text field is highlighted if it is not fill in</title><link>https://www.infopathdev.com:443/forums/thread/123734.aspx</link><pubDate>Mon, 14 Dec 2020 23:07:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123734</guid><dc:creator>Evanz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123734.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123734</wfw:commentRss><description>Enclosed is a copy of my XML file when the rich text field is empty but the form allows to submit without a text successfully. Thanks</description></item><item><title>Re: Make a text field is highlighted if it is not fill in</title><link>https://www.infopathdev.com:443/forums/thread/123733.aspx</link><pubDate>Mon, 14 Dec 2020 19:55:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123733</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123733.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123733</wfw:commentRss><description>My guess would be that because comments is a rich text field it may not actually be blank. Can you attach one of the XML files you&amp;#39;ve saved in your library that reproduces this issue?</description></item><item><title>Make a text field is highlighted if it is not fill in</title><link>https://www.infopathdev.com:443/forums/thread/123732.aspx</link><pubDate>Mon, 14 Dec 2020 18:39:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123732</guid><dc:creator>Evanz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123732.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123732</wfw:commentRss><description>Hi,

I am trying to set a &amp;quot;Comments&amp;quot; text field is highlighted when the text is not fill in. It works properly when the form initially created. But When I tried to make edits to the form by leaving the text field empty, it still allows to submit the form with an empty text field. Please see my example form attached as I set the rules/formatting for the submit button, but it does not work properly. Any suggestion is greatly appreciated. Thank you so much!</description></item></channel></rss>