I have a task form which contains:
- a "Are you attaching a document?" Yes/ No drop-down Choice control
- an Attachments control
I would like there to be validation on the Attachments control if the answer to the Choice control is "Yes".
From reviewing previous posts, it looks like I can add an "If" inline function to the "Minimum attachments" field in the Attachments control settings, and set the function to return 1 or 0 based on whether the Choice control is "Yes" or "No".
However, when I do this and then save the control settings, the formula isn't saved - when I re-open the form, the Minimum attachments field has reverted to the default, "0".
What am I missing here? The formula I am using in the Minimum attachments field is "fn-If(Yes/No Control Name, 1, 0)"