Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I make a File Attachment control conditionally required? For other controls, such as a text box I can add a data validation rule that and's the condition (a checkbox being checked) and the control's isBlank. However, File Attachment controls lack this function (data validation), so how can I emulate it?

share|improve this question

Did you try checking the box Cannot be blank in the properties window?

Right click on the control, properties, Cannot be blank.

share|improve this answer
That's not conditional at all though... – C. Ross Jul 8 '11 at 11:07
At least in InfoPath 2007, the "cannot be blank" field is disabled for file attachment fields (and disabled in the "on" position). – Allen Gould Jun 6 '12 at 19:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.