Copying fields into repeating section fields - InfoPath Dev
in

InfoPath Dev

Copying fields into repeating section fields

Last post 04-20-2006 06:55 PM by atifbaba. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 04-06-2006 06:58 PM

    • atifbaba
    • Not Ranked
    • Joined on 03-20-2006
    • Australia
    • Posts 7

    Copying fields into repeating section fields

    Hi,

    I need to insert data entered in a field (field1) (outside a repeating section) into the very first field (field2) inside a repeating section, when a checkbox is checked. Is there a way to do this using code or otherwise? (I am not familiar with J script/VB script.)

    I#%92ve tried adding a rule to the checkbox, but the end result is that all the field2#%92s in the repeating section end up with field1#%92s value.
  • 04-09-2006 08:02 PM In reply to

    • david
    • Not Ranked
    • Joined on 08-17-2005
    • Posts 4

    Re: Copying fields into repeating section fields

    Does anyone have an answer to this?
  • 04-09-2006 10:02 PM In reply to

    Re: Copying fields into repeating section fields

    Hi,
    Assuming ur datasource has the following structure,
    Root
    Group
    Repeating Group

    Use the following code
    XDocument.DOM.selectSingleNode("/root/group/repeatinggroup["+1+"]/fieldname").nodeTypedValue=.....

    Regards,
    Abhishek
  • 04-20-2006 06:55 PM In reply to

    • atifbaba
    • Not Ranked
    • Joined on 03-20-2006
    • Australia
    • Posts 7

    Re: Copying fields into repeating section fields

    Thanks Buddy ! it worked.

    Cheers,
    Atif
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.