<?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: Adding support for mandatory fields</title><link>https://www.infopathdev.com:443/forums/thread/47314.aspx</link><pubDate>Fri, 25 Sep 2009 01:29:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47314</guid><dc:creator>IanBuckland</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47314.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=47314</wfw:commentRss><description>&lt;p&gt;Hey Patrick - do you have some script that you could post that would do this. &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Ian B&lt;/p&gt;</description></item><item><title>Re: Adding support for mandatory fields</title><link>https://www.infopathdev.com:443/forums/thread/33549.aspx</link><pubDate>Mon, 27 Oct 2008 18:06:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33549</guid><dc:creator>iberejones</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33549.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=33549</wfw:commentRss><description>Agni,
I&amp;#39;m using Data Validation in one text box to check if one check box selected then this text box will be mandatory. It&amp;#39;s working but when the users fill the mandatory field and try to submit the form they can not and the cursor come back to the field.

Any idea?

Thanks in advance!</description></item><item><title>Re: Adding support for mandatory fields</title><link>https://www.infopathdev.com:443/forums/thread/7309.aspx</link><pubDate>Thu, 28 Jul 2005 18:27:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7309</guid><dc:creator>danadam</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7309.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7309</wfw:commentRss><description>Thanks guys, this has been very helpful.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Daniel Adam&lt;br /&gt;S/W Architect - Compliance SME</description></item><item><title>Re: Adding support for mandatory fields</title><link>https://www.infopathdev.com:443/forums/thread/7308.aspx</link><pubDate>Thu, 28 Jul 2005 17:05:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7308</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7308.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7308</wfw:commentRss><description>Simpler thing would be just to mark them as required in the data source. Double click on the field and change to required. If this is disabled, then you will have to extract the form files (from file menu) and manually update the xsd as Agni describes.&lt;br /&gt;&lt;br /&gt;Keep in mind that the default behavior of InfoPath is not to force you to fill out any fields. That's to support offline scenarios where partial save is needed. &lt;br /&gt;&lt;br /&gt;To truly block submits, you will have to add code that walks the error board and checks to see if any fields that were required are not filled in. You may also want to validate the content.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: Adding support for mandatory fields</title><link>https://www.infopathdev.com:443/forums/thread/7307.aspx</link><pubDate>Thu, 28 Jul 2005 17:02:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7307</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7307.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7307</wfw:commentRss><description>Hi Daniel Adam, Welcome to the Forum!&lt;br /&gt;You can do two things to make the user fill the mandatory fields.&lt;br /&gt;1. Open the schema, add an attribute called "nillable=false" to the field that you want to make Madatory&lt;br /&gt;2. Another option for you is, add a data validation on the field to make it compulsory.&lt;br /&gt;&lt;br /&gt;In addition to above two things you need to disable the button(which submits the data till all the required fields are filled. This can be done by adding conditional formatting to the button.&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfoPath Dev India</description></item><item><title>Adding support for mandatory fields</title><link>https://www.infopathdev.com:443/forums/thread/4810.aspx</link><pubDate>Thu, 28 Jul 2005 15:32:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4810</guid><dc:creator>danadam</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4810.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4810</wfw:commentRss><description>I have some custom InfoPath forms and I need to make the reply to certain questions mandatory, in other words you can't SAVE the form without filling out several fields/questions (text boxes, Value List Box, etc).&lt;br /&gt;&lt;br /&gt;Is there an easy way to add this to my forms or form template?&lt;br /&gt;&lt;br /&gt;thanks&lt;br /&gt;&lt;br /&gt;Daniel Adam&lt;br /&gt;S/W Architect - Compliance SME</description></item></channel></rss>