Wrong email arrives

J

Joanne

Hello,
I hope someone can help me with this. We are testing two new forms that
we've developed; one called "mentor" and one called "mentee". In the various
testing we've done, I've added myself as both a mentor and a mentee but now
in the final phase, we are having a pilot group of mentees fill out the form
and then it automatically is emailed to me as their "mentor". The trouble is
that when I open the email attachment, all I see is the original mentee form
that I filled out. I realize that I could probably delete the form on my
hard drive, but why doesn't Infopath just open the form that was sent? Thank
you very much.
 
F

Frank Mueller \(MSFT\)

Hi Joanne,

How are you sending the form template (XSN) to the mentees? Do you send the
XSN or do you publish it to a shared location?

Thanks,
Frank
 
J

Joanne

The form is published on a share on the network and then a link to the form
is sent to the mentees who fill it out and email it back to me. It arrives
in my email as an attachment named "form.xsn"
 
J

Joanne

Hello again,
I should also point out that there is code running behind the form in the On
Load event which automatically fills in one of the fields (MenteeName), with
the name of the logged in user. So this is all behaving as if this was not a
submitted form but rather a form that needs to be filled out, since when I
open the email attachment coming from each user, what I get is a blank mentee
form with my name filled in as mentee.
Thank you for your help. I hope this clarifies things.
 
F

Frank Mueller \(MSFT\)

Hi Joanne,

I think you're correct. The file you should be receiving from the mentees
should be a form.xml, not a .xsn file.
How do you have them submit the filled out form? Do you use the submit
button in InfoPath?
 
J

Joanne

Hello,
Actually it is an xml file but it's behaving as if it isn't. The users
simply click the submit button and we have it set up that the form is sent
automatically to me. But no matter who submits a form, all I get is a blank
mentee form with my name filled in. Now one of our staff is trying to write
all this extra code but I feel like this should just WORK without having to
add extra code. Isn't that correct? Thank you for your help.
 
F

Frank Mueller \(MSFT\)

Hi Joanne,

If possible send a copy of the xsn to my alias. I will have a look. It
should indeed work without much extra code.
 
J

Joanne

Hi, I was wondering if you had any luck with our very strange problem. I
could post the xsn file as well. Infopath keeps reading the xml file as a
template and running the On Load code that we have as well as not retrieving
the data that is in the submitted form. It seems to think that this is not
an xml file but is still a template. We would really appreciate any insigt
at all that you could provide. Thank you so much.
 
F

Frank Mueller \(MSFT\)

Hi Joanne,

I have not received the form template from you. My email address is fmueller
AT microsoft DOT com.

Thanks,
Frank
 
J

Joanne

Hello,
I did send an email to you yesterday, but this morning I got a response that
it could not be delivered. I am now trying to send one to
(e-mail address removed) and it is telling me that it is an invalid address.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top