InfoPath Form – Action Rules
Action Rule is the most frequently used Rule in InfoPath forms where you want to perform any action on control of the form or on form load or want to submit the data. Also, on firing the action, you can show the Validation Error message.