Copy preceding-sibling - InfoPath Dev
in

InfoPath Dev

Copy preceding-sibling

Last post 07-24-2011 02:22 PM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-18-2011 07:03 AM

    Copy preceding-sibling

    I have found only one way to copy previous row of a repeating table/section. Previous solutions I have found only work in the client. Currently I have a button with rules like this:

    preceding-sibling::MyRepeatingGroup[count(preceding-sibling::MyRepeatingGroup) = count(current()/preceding-sibling::MyRepeatingGroup) - 1]/MyField

    the problem is I have to add a row, then click the button. Is there a way to do this with one click? either by just adding a new row or when the button is clicked it does both (new row and copy)? I would like to stay away from code.

    Kind regards,
    Larry
  • 07-24-2011 02:22 PM In reply to

    Well, you can add a bunch of rows to your form via Default Values and configure to have them hide if they don't contain data. Then, your one click will set them and the conditional formatting will unhide them. Just thinking off the top of my head here ...

    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.