1
0
-1

Hi Team,

I am able to get the entire form data using the Form.getDataXml(false, true) API Method, but my concern is to get data for particular page data. Eg.i have form with three pages and if i am in first page i need to get that page data alone, and if in second page that data alone and same for other pages too. so please help on this.
thanks

    CommentAdd your comment...

    2 answers

    1.  
      2
      1
      0

      Hi,

      This post might provide some assistance to you... how can i get and identify page specific data?

        CommentAdd your comment...
      1.  
        1
        0
        -1

        I have a form that's bound to an XML schema. I grab portions of the XML via the following script:

        var xmlOut = $.parseXML("<root></root>");
        var xmlIn = $.parseXML(Form.getDataXml(true, true)); 
        $(xmlOut).children(0).append($(xmlIn).find("nameOfNode1"));
        $(xmlOut).children(0).append($(xmlIn).find("nameOfNode2"));

        This builds up a new xml object that I pass to a service. You should be able to use the code above while inspecting your form xml to get to where you want. 

          CommentAdd your comment...