Drop down listboxes

P

Pauline

Hi All,

My scenario is this. I have created an InfoPath form
using Web Services. One of the dropdown listboxes in my
form is a repeating table and i use another web service
(as an additional data connection) to fill up the listbox
with values.

Lets say if the listbox has values Peter, Paul,
David. If the first row of the repeating table has Peter
as the selected values i would like the next row added in
not to have Peter in the listbox, so now the values
available for row 2 is Paul and David.

Can anyone point me in the right direction as to
how i can go about doing this? Do i need to progamatically
remove the value from dom of the secondary data source
used to fill the listbox?? OR can i use expressions?

regards,
Pauline
 
M

Matthew Blain \(Serriform\)

You may be able to use the filter feature in SP-1 to do this.
If not, you could certainly do this with custom XSL.
You could use custom validation to validate that no two rows have the same
value, so every row would have the same set of choices but if selected twice
an error would display.

--Matthew
 

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