Infopath Repeating Section Question

Hello and thanks in advance!

I have an infopath 2010 form im designing, in which we are using for new user provisioning. I have a repeating section in which our HR folks fill out the relevant data, and then may need to add a few more in a single session.

The catch:
I'm emailing the data in this form to our ticketing system, I'd like to get each repeating section to send it's data as a seperate email to the same location when the user clicks the submit button.

So:
Form1
Repeat1 --> email
Repeat2 -->email
Repeat3 -->email

Any ideas?
eeamodeiAsked:
Who is Participating?
 
Clay FoxConnect With a Mentor Director of Business IntegrationCommented:
Another thought would be to make views to step through each of the sections and show just the one records information at a time, but this would require the user emailing each one individually but maybe you could encorporate it with review the information or something.
0
 
Clay FoxDirector of Business IntegrationCommented:
So you want the sections broken up but to go to the same recipient.

This is a bit tough to accomplish.  It may be able to be done via code and a SMTP server component but this is complex.

Why not just have them do one new user per form/email.

If there are defaults you want to preserve between them in one session then have 2 forms or pass the data from one form and launch a second one seeded with the information.  This is a design that would be easier to accomplish.

You would still need some code but just to pass variables between 2 forms, the current and the one you just launched, using the Application.XDocument.NewFromSolution
and
selectSingleNode
to reference each field.
there are code samples on www.infopathdev.com
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.