Contents
How do you make an attachment mandatory in InfoPath?
InfoPath way of making list attachments mandatory
- Open the list for editing in InfoPath,
- Add a new text box.
- Set its default value to the Attachment.
- Click on “Insert Field or Group”.
- Create a validation rule in the text box as shown below.
- Similarly, create a new rule for hiding the text box.
3 Answers
- On the List tab of the ribbon, Click Customize form.
- To make the attachment field required, we will add a dummy textbox control that will contain the required rule.
- Right click on the textbox control, hover on ‘Rules’ and click on Manage Rules.
- Create a rule for the textbox.
When to use a file attachment control in InfoPath?
File Attachment The file attachment control enables users to attach a file to a form when it is submitted. For example, if users are filling out an insurance report form, the file attachment control can be used to attach a PDF document of the insurance claim to the form. Use a file attachment control when you want to:
How to mandate a file attachment on a list?
You can try doing the following to mandate the file attachment on a list (using infopath): 1. Add a text box control in the form (and hide in a section as we don’t need this control to be shown) 2. Add a calculated value control under the file attachment and associate it with the above created text box control.
What to include in Microsoft InfoPath form template?
A Microsoft InfoPath 2010 form template can include different types of controls designed to collect or display information as an object — file attachments, pictures, and hyperlinks. The file attachment control enables users to attach a file to a form when it is submitted.
When do you use a file attachment control?
Use a file attachment control when you want to: Enable users to attach a file to the form when they submit it. A Picture control enables users to insert a picture in the form when filling it out. The picture data is then saved in the underlying form.