My form has some simple business logic that determines what view is displayed to users. Depending on the business logic, and hence the view, some fields are displayed and required. I thought that the validation rules were exclusive to the view, but it appears they cross views. I am unsure, because I have seen a behavior where rules appear exclusive to the view in which they are applied. (InfoPath 2010)
This causes a problem because a field that is required on one view but not a second one prevents the form from being submitted using the second view.
View A
- Field 1 is displayed and required using a validation rule (the field properties Cannot be blank attribute is unchecked)
- Field 2 is not displayed (because it is not required and not relevant)
View B
- Field 1 is displayed and required using a validation rule
- Field 2 is displayed and required using a validation rule
Issue: View A cannot be submitted because no value has been entered for Field 2
Is this possible, or do I need separate forms?