<?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>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Repeating Section with Attachment Control - Never Truly Mandatory?</title><link>https://www.infopathdev.com:443/forums/thread/65234.aspx</link><pubDate>Wed, 16 Mar 2011 14:49:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65234</guid><dc:creator>vergamim</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65234.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=65234</wfw:commentRss><description>&lt;p&gt;Ingenious! Disabling the button when the repeating section is not present seems like it will work just fine in this case. &lt;/p&gt;
&lt;p&gt;Thank you ErnestoM!&lt;/p&gt;</description></item><item><title>Re: Repeating Section with Attachment Control - Never Truly Mandatory?</title><link>https://www.infopathdev.com:443/forums/thread/65233.aspx</link><pubDate>Wed, 16 Mar 2011 13:16:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65233</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65233.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=65233</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Interesting. How about adding conditional formatting to the submit button, such that it is disabled if there is no attachment?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Repeating Section with Attachment Control - Never Truly Mandatory?</title><link>https://www.infopathdev.com:443/forums/thread/65199.aspx</link><pubDate>Tue, 15 Mar 2011 17:27:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65199</guid><dc:creator>vergamim</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65199.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=65199</wfw:commentRss><description>&lt;p&gt;Hi folks,&lt;/p&gt;
&lt;p&gt;I am developing an InfoPath 2010 filler form whose administrators require that at least one attachment be included. The user must also be able to add additional attachments if needed.&lt;/p&gt;
&lt;p&gt;To achieve this, I&amp;#39;ve created a repeating section with an attachment control set to &amp;quot;cannot be blank.&amp;quot; The form cannot be submitted without an attachment present. &lt;/p&gt;
&lt;p&gt;However in testing we realized that the section can easily be removed entirely and can be submitted without any attachment (removing the repeating section also removes the &amp;quot;cannot be blank&amp;quot; requirement). More research revealed&amp;nbsp;modifying the &amp;quot;section commands&amp;quot; in the properties of the repeating section allows one to&amp;nbsp;disable the ability to &amp;quot;Remove&amp;quot; or &amp;quot;Remove All.&amp;quot;&amp;nbsp; This is great &amp;amp; prevents the user from removing the repeating section at all.&lt;/p&gt;
&lt;p&gt;Next though&amp;nbsp;we realized that this repeating section can be &amp;quot;cut&amp;quot; from the section&amp;#39;s context menu which also allows the form to be submitted without an attachment.&lt;/p&gt;
&lt;p&gt;This &lt;a title="MSDN Article" href="http://social.msdn.microsoft.com/Forums/en-US/sharepointinfopath/thread/31e7993f-7085-4bfe-aa97-ed04163bb2f1/" target="_blank"&gt;MSDN article&lt;/a&gt; seems to suggest you can add validation as a rule on the attachment control if the attachment field is blank, but it doesn&amp;#39;t seem to work 100%. The validation kicks in only when the attachment itself is removed or cut, not when the repeating section is removed (or cut). There doesn&amp;#39;t seem to be any way to make the repeating section mandatory or unable to be &amp;quot;cut.&amp;quot; &lt;/p&gt;
&lt;p&gt;Is there some way to make an attachment in a repeating section be truly mandatory&amp;nbsp;without adding code?&lt;/p&gt;
&lt;p&gt;thanks!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>