Open email client based on form response

M

mrschlei

Howdy,

I'm big into InfoPath 2007 and WSS 3.0. But I've hit a bit of a
snag...

I created a 1-question form that is essentially just a question and 2
buttons; one for "Yes" and one for "No." After the user hits one of
the two buttons, they get redirected (via the "Source" parameter in
the InfoPath Forms Services URL) to a "Thanks" page and the form
itself is submitted to a Forms Library with their username as the form
name and a hidden field filled out so I could see if people were
selecting Yes or No as a column in the Forms Library a little easier.
Anyway, so far, so good!

Now, what I want to do is have the users who click the "No" button
have an email message open up after clicking "No" so I can collect
some feedback from them (but not have anything pop up for the people
who've clicked "Yes"). I assumed this would be easy, but I can't find
anything on "conditional redirects" or anything like that in InfoPath
2007. I feel like this is going to be a simple setting someplace...
please let me know! Thanks in advance for any help you guys can
offer.
 
C

Clay Fox

Add another data connection to your form.

make it an email submit.

Add a conditional rule to your no button, between the SP submit and the
close/redirect) which switches to another view that has the text you want for
the email body and then submits to email.
 
M

mrschlei

Switching to another view pre-submit? Genius! Anyway, I wanted to let
users edit the content before submittal and InfoPath was automatically
sending the email without a chance for edit, so I just switched views
if the user clicked "No" like you said and then added a cool new text
box in the new view with a hip, new "Submit" button that used the
original Main Submit. Works like a charm. Thanks for the help!
 

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