I have an XML form that needs to ouput the sample below.
I have set the infopath form to use the XML schema and have designed the form to submit the xml to an Email address. This is all working fine.
But i have a problem with the Item repeating section and setting up the values and labels for this.
XML output
<RESULTS>
<ITEM SeqNo="2" ResOrderNo="2">
<TIME>0815</TIME><DATE>20150916</DATE><FREETEXT /><UOM /><PREV /><RESPONSEFILE /><RESPONSEFILENAME /><RESPONSE Type="OK" RESPONSE_Display="" LINENO="">SUGGESTION</RESPONSE>
</ITEM>
<ITEM SeqNo="9" ResOrderNo="9">
<TIME>0815</TIME><DATE>20150916</DATE><FREETEXT /><UOM /><PREV /><RESPONSEFILE /><RESPONSEFILENAME /><RESPONSE Type="OK" RESPONSE_Display="" LINENO="">Something needs replacing</RESPONSE>
</ITEM>
<ITEM SeqNo="10" ResOrderNo="10">
<TIME>0815</TIME><DATE>20150916</DATE><FREETEXT /><UOM /><PREV /><RESPONSEFILE /><RESPONSEFILENAME /><RESPONSE Type="OK" RESPONSE_Display="" LINENO="">Some more text</RESPONSE>
</ITEM>
</RESULTS>
The infopath fields are correctly generated. I need the user to populate the response field of each sequence number, the date and time will always be the same for each item.
My questions are ....
(1) I only see 1 repeating section with fields. Is it possible to see the next section (i.e sequence 2 is shown but i want to see sequence 9 so i can set up a text box field for the response.)
(2) how do i get SeqNo to be correct on each repeating section?
(3) how can i set the response label to display something different for each sequence. (i.e for suquence 2 the response lable should say "type of miss" for sequence 9 it should say "Incident")
(4) Is this possible to do as a no code solution.
Any advise would be great.
Shaz.