<?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: Required Text Fields</title><link>https://www.infopathdev.com:443/forums/thread/35875.aspx</link><pubDate>Wed, 17 Dec 2008 00:50:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35875</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35875.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35875</wfw:commentRss><description>&lt;p&gt;Well, you are receiving these suggestions, because you are experiencing something that shouldn&amp;#39;t happen.&amp;nbsp; In all of my forms, if data validation is not met (blank field that is set to &amp;quot;cannot be blank&amp;quot; or custom data validation that is not met), then I am unable to submit or save to the library.&amp;nbsp; I have never experienced what you are seeing.&amp;nbsp; However, it is also true that I hate using the Save button, because that lets the user pick a file name, and I don&amp;#39;t like that.&amp;nbsp; I almost always use a custom control button with rules behind it that save the file and provide a unique filename dynamically generated using the now() function to ensure all filenames are unique and so that I can easily overwrite the file upon a later submit without it creating a new file.&lt;/p&gt;
&lt;p&gt;Nothing mentioned above requires any amount of code - just basic GUI configuration with rules and data connections.&lt;/p&gt;</description></item><item><title>Re: Required Text Fields</title><link>https://www.infopathdev.com:443/forums/thread/35715.aspx</link><pubDate>Thu, 11 Dec 2008 22:56:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35715</guid><dc:creator>turfnsurf4me</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35715.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35715</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;ErnestoM:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;You can go to Form Options to remove the Save and Save As icons in the toolbar (see screenshot)&lt;/p&gt;
&lt;p&gt;Of course, that means that you&amp;#39;ll need a button that is configured to submit your form. Then you can place rules/validation and can avoid the Save/Save As toolbar functionality.&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;So in other words, to get the functionality I want, I have put a button&amp;nbsp;on my form, get into the &amp;quot;code behind&amp;quot;&amp;nbsp;and programmaticaly ( to whatever extent ) do this stuff. And that&amp;#39;s cool.. I suppose..lol &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Was hoping the designer&amp;nbsp;and capablities was such that I didn&amp;#39;t have to go there. Oh well...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Required Text Fields</title><link>https://www.infopathdev.com:443/forums/thread/35714.aspx</link><pubDate>Thu, 11 Dec 2008 22:51:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35714</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35714.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35714</wfw:commentRss><description>&lt;p&gt;You can go to Form Options to remove the Save and Save As icons in the toolbar (see screenshot)&lt;/p&gt;
&lt;p&gt;Of course, that means that you&amp;#39;ll need a button that is configured to submit your form. Then you can place rules/validation and can avoid the Save/Save As toolbar functionality.&lt;/p&gt;</description></item><item><title>Re: Required Text Fields</title><link>https://www.infopathdev.com:443/forums/thread/35712.aspx</link><pubDate>Thu, 11 Dec 2008 22:47:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35712</guid><dc:creator>turfnsurf4me</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35712.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35712</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;shivajidatta:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;If it is a Button that you are clicking to save the form, you can do Conditional Formatting to disable the button till the text box is populated.&amp;nbsp; Go to the button properties and click on Display &amp;gt; Conditional formatting.&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;That&amp;#39;s just it, there are no buttons on the form I designed. The Form is published to a MOSS 2007 Doc library. The Form is &lt;br /&gt;web browser enabled, The MOSS servers Form Services provides a &amp;quot;Save&amp;quot; &amp;quot;Save As&amp;quot;&amp;nbsp; &amp;quot;Close&amp;quot; and &amp;quot;Submit&amp;quot; buttons when my form is rendered to the client via a web browswer. I understand what you&amp;#39;re saying. Placing a button on the form to &amp;quot;submit&amp;quot;. I was trying to keep it rather simple, and frankly wanted to see the capablitlies of Infopath in the &amp;quot;out of the box&amp;quot; mode with out getting into &amp;quot;code behind&amp;quot;, You see what I&amp;#39;m saying?&lt;/p&gt;</description></item><item><title>Re: Required Text Fields</title><link>https://www.infopathdev.com:443/forums/thread/35708.aspx</link><pubDate>Thu, 11 Dec 2008 22:03:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35708</guid><dc:creator>shivajidatta</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35708.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35708</wfw:commentRss><description>&lt;p&gt;If it is a Button that you are clicking to save the form, you can do Conditional Formatting to disable the button till the text box is populated.&amp;nbsp; Go to the button properties and click on Display &amp;gt; Conditional formatting.&lt;/p&gt;</description></item><item><title>Re: Required Text Fields</title><link>https://www.infopathdev.com:443/forums/thread/35707.aspx</link><pubDate>Thu, 11 Dec 2008 21:46:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35707</guid><dc:creator>turfnsurf4me</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35707.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35707</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;shivajidatta:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;In Data Validation, add the condition of the text box being empty and throw an error.&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;How in the blazes do you do that? &amp;nbsp;All I see is to set a condition if the field is blank.. and then a&amp;nbsp;error message is displayed.&amp;nbsp;That doesn&amp;#39;t get me anywhere because the user can still &amp;quot;save&amp;quot; the data to the doc library.&amp;nbsp; If you ment like throw an exception...I understand. I&amp;#39;m not using any code behind. It&amp;#39;s just a simple form &amp;quot;out of the box&amp;quot; sort of thing.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Required Text Fields</title><link>https://www.infopathdev.com:443/forums/thread/35706.aspx</link><pubDate>Thu, 11 Dec 2008 21:41:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35706</guid><dc:creator>turfnsurf4me</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35706.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35706</wfw:commentRss><description>The form is browser enabled, and the save button appears at the top of the form. The user can select &amp;quot;save&amp;quot;, the dialog box appears with the warning asking if you want to continue to save ( despite the validation errors). If you say yes, the data from the form gets saved to the Doc library. I don&amp;#39;t want that. I want to dis-allow the data from being &amp;quot;saved&amp;quot; to the doc library until the user enters some text into the text box. Does that make sense?</description></item><item><title>Re: Required Text Fields</title><link>https://www.infopathdev.com:443/forums/thread/35703.aspx</link><pubDate>Thu, 11 Dec 2008 21:30:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35703</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35703.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35703</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;How are you submitting the form? i.e. is it via email, via a web service, etc. Data validation on your fields is one option, as mentioned above, but I wonder how you are submitting (though you say saving?) because, for example, an email submit will not happen if there is a required field left blank.&lt;/p&gt;</description></item><item><title>Re: Required Text Fields</title><link>https://www.infopathdev.com:443/forums/thread/35701.aspx</link><pubDate>Thu, 11 Dec 2008 21:26:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35701</guid><dc:creator>shivajidatta</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35701.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35701</wfw:commentRss><description>&lt;p&gt;In Data Validation, add the condition of the text box being empty and throw an error.&lt;/p&gt;</description></item><item><title>Required Text Fields</title><link>https://www.infopathdev.com:443/forums/thread/35696.aspx</link><pubDate>Thu, 11 Dec 2008 20:04:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35696</guid><dc:creator>turfnsurf4me</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35696.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35696</wfw:commentRss><description>&lt;p&gt;I have a required textbox field on my form. Set the property&amp;nbsp; &amp;quot;Cannot be blank&amp;quot;. When I run the form and try and save it, a dialog box pops up and tells me about the required field. And that&amp;#39;s all fine and dandy. However, the form is still able to be saved. That&amp;#39;s &lt;strong&gt;not&lt;/strong&gt; fine and dandy. Is there a way to prevent the form from being saved until the user enters the a value into the required field?&lt;/p&gt;</description></item></channel></rss>