I needed for a customer something alike. So what I did:
- On the record level I added a hidden textbox, CanSubmit, DataType True/False and Default Value false
- Then I added to the textboxes of the record rules, yhich will be applied when the data changes, First Rule: Set the CanSubmit to false, Second Rule: Set the CanSubmit to true if conditions are true, the conditions is the business reauiredments
The submit button: Add Rules, Submit using the data connection + conditions All Occurences of CanSubmit are equal to TRUE
You can add a second rule, saying when Any Occurences of CanSubmit is false, show a dialog box.
Frederik Van Lierde
Blue InfoPath Blog ¦
SilverSands Associate ¦
Do you follow me already? ¦ We work smart, not hard
If this article was helpfull, don't forget to rate it, tnx!