XML and Repeating section. - InfoPath Dev
in

InfoPath Dev

XML and Repeating section.

Last post 09-17-2015 05:00 AM by InforpathShaz. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 09-17-2015 05:00 AM

    XML and Repeating section.

    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.

     

     

     


    Filed under: ,
Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.