Hi,
Thanks for your help. Think I am getting somewhere now.
I have 2 rules on the submit button, submitting using a data connection. One submits to the SharePoint form library and the other as an email message. However, when I try to submit the form I get the following error message:
InfoPath cannot submit the form.
An error occurred while the form was being submitted.
A value in the form may be used to specify the file name. If you know the value in the form that specifies the file name, revise it and try again. Otherwise, contact the author of the form template.
I am trying to pull the email address of the supervisor from a form field called SupervisorEmail.
Thanks,
Jeremy