I am Having Attachment Field in Infopath 2010 form, i want to make it mandatory on some condition, when i set the validation rule on attachment filed and i check condition like "someField=1 and attachment is blank" then cannot be blank it returns Fatal Exception.
I tried it from code, I can Successfully make it mandatory by checking ...