I've got what appears to be a tricky set up.
Each user may have access to one of several vendors:
Table:
User ID | Vendor
ID1 | Vendor A
ID1 | Vendor B
ID2 | Vendor A
ID2 | Vendor C
And each vendor has different sets of information that are required (yes/no questions 1-6):
Table:
Vendor | Question
Vendor A | Question 1
Vendor A | Question 2
Vendor A | Question 3
Vendor A | Question 4
Vendor B | Question 4
Vendor B | Question 5
Vendor C | Question 6
In the form, I'm attempting to use XML to present only the relevant questions to a user, based on their vendor access:
ID1 would see a form:
Question 1: Vendor A
Question 2: Vendor A
Question 3: Vendor A
Question 4: Vendor A; Vendor B
Question 5: Vendor B
ID2 would see a form:
Question 1: Vendor A
Question 2: Vendor A
Question 3: Vendor A
Question 4: Vendor A
Question 6: Vendor C
I've been successful in the above, but once XML is loaded and conditional formatting for userName() and each question on a repeating table against the XML, I'm hitting a snag where I can't seem to get the data to write to a target SharePoint list.
Sorry, I should note that I'm attempting to get each response logged as a separate SP item. Each answer requires additional tracking that will be done separately.