<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Validate attachment in form library, Infopath 2010</title><link>https://www.infopathdev.com:443/forums/thread/94192.aspx</link><pubDate>Fri, 08 Nov 2013 17:18:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94192</guid><dc:creator>angieong</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94192.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=94192</wfw:commentRss><description>I need help on this.

I want to validate an attachment in repeating section. User can click the add item if they want to add extra attachments.

Let say:-
1) if backdate = yes, show AttachmentSection. (previous i hide this section)

2) How to validate user has attached either 1 attachment or 2 attachment after section appear in screen? Because repeating section will set the * (Cannot Be Blank) in every attachment even the attachment box is empty.

3) how to skip the validation  if backdate = No and this section has hide.

Thank you. I am poor on this logic.</description></item></channel></rss>