I have a SharePoint 2010 InfoPath list form. The form contains fields which are conditionally formatted, based on if a earlier field on the form is true or false.
Field "Were you absent", dropdown menu, with choices "Yes","No".
Conditionally required field "Reason for absence", dropdown menu, with a variety of choices. Conditional formatting makes this field required if the "Were you absent" field is set to yes.
When previewing the form, or when publishing it to SharePoint, the conditional formatting does indeed make the "Reason for absence" field required only if the "Were you absent" equals "Yes". However, making any choice from the "Reason for absence" field fails. The field is displayed with the red dashed border and the form cannot be submitted.
I have wrestled with changing the field type from "Yes/No" to "Choice" with no success. What is the secret to getting a conditionally required field to correctly pass the "required" validation?