Repeating Sections

J

JMM

I'm fairly new to InfoPath and I can't figure out how to design a repeating
section correctly.

What I'm trying to do: Basically I'm building a work order where n number
of tasks can be added with unique people assigned to each task.

Here's my problem: I have a repeating section called tasks and within that
I have a Drop-Down List Box that contains the names and email addresses of
people that can be assigned that task. Also within the repeating section I
have a Button control that will send the task to the person specified in
Drop-Down List Box. This works fine and great if just one task is entered
but when another task is entered (new person assigned to a new task) and the
submit Button is pressed then the form is submitted to the first person
assigned to Task 1 and not the person assigned to task 2.

It almost seems that I would need a new and unique field generated for each
task.

I hope this makes sense and unfortunatly I don't having any coding
expierence (yet).

Any ideas? Thanks!
 
A

Alec Pojidaev

If it's posible remove the button and move all button actions to the dropdown
control.
 
E

Ed Thurber

You may need to set up some "temp" data elements outside of your repeating
node to hold the email address and any other node specific information that
is going into your task.

then, on your button, set up rules to take the information from that
repeating node and write it to those "temp" elements. Then call the submit
function.
the submit function will need to be reconfigured to pull it's values from
the new "temp" nodes

hope this helps.

Ed
 

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