i want to make a field required only if the value of another field is "foo". is this possible in Infopath 2010?


You can do that with a workaround.

Use a custom button to submit the form and run set of rules when the button is clicked, i.e. a validate rule and a submit rule. Set the validate rule to run if Field1 is "foo" and Field2 is empty. The action is to set a trigger field that shows/hides a section with an error message. Stop rule execution after the validate rule, so the form won't be submitted.

  • excellent, thank you!!! i knew there must be a way :) – April Drake May 3 '13 at 17:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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