Hello all,
I have an infopath form I have designed with a field named "Submitted By". I have set a rule on load to use a data connection called "SubmitForName" to submit the form to a Sharepoint Library named "ForName", where is overrides the form on each submission. Once that is complete, another action recieves the "Modified By" field from another data connection named "GetName" that reads the Library "ForName" to obtain the name of the user who submitted the form. This seems to work fine for USERA as many times as they open it, the name will populate. The problem is when USERB opens the form, they recieve the following error the first time it tries to submit only, regardless if the form already exists or not:
Infopath cannot submit the form.
An error occurred while the form was being submitted.
The form cannot be submitted to the following location: <SITE>
The site may be offline, read-only, or otherwise unavailable.
Unspecified error.
The funny thing is, they can then open the form as many times as they choose without any errors and their name populates fine. THEN, if that wasn't enough, now USERA cannot open the form without first recieving the same error the first time. Then the process repeats itself.
So it seems to error out the first time for each user who is not opening it for at least the second time consecutively. This error also seems to happen whether it's a rule onload or attached to a button/field.
Does anyone have any ideas or a better way to accoplish what I want?
Thanks!
Vassago