2
1
0

Say I want to prefill the form with XML containing the following structure

            <FomBlock>

                <Fom>

                    <FomName>form 1</FomName>

                </Fom>

                <Fom>

                    <FomName>form 2</FomName>

                </Fom>

                <Fom>

                    <FomName>form 3</FomName>

                </Fom>

            </FomBlock>

 

I setup an Input XML Prefill Mapping so that FomBlock maps to FormBlock, Fom to Form and FomName to FormName. When I do a post to prefill the form I get the following

 

    <FormBlock>

        <Form>

            <FormName>form 1</FormName>

            <FomName>form 1</FomName>

        </Form>

        <Fom>

            <FomName>form 1</FomName>

        </Fom>

        <Fom>

            <FomName>form 2</FomName>

        </Fom>

        <Fom>

            <FomName>form 3</FomName>

        </Fom>

    </FormBlock>

 

As you can see only the first instance is being mapped. The rest are just coming through as is.

 

Is there a way to do the mapping so that all of them get mapped?

 

 

 

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      It looks like the issue may be perhaps a naming consistency issue, some are labeled fom (no r) and some form. Can you check to see if maybe that's the problem?

        CommentAdd your comment...