Repeating Section Rule problem - InfoPath Dev
in

InfoPath Dev

Repeating Section Rule problem

Last post 06-07-2006 11:12 PM by Shiva. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 06-06-2006 06:10 AM

    Repeating Section Rule problem

    I have a form that holds both delivery address and billing address.
    The delivery address is in a Repeating Section.
    I have created a check box called "Same as Delivery Address" When checked, rules fire to copy the Delivery address to the Billing address.

    All works ok, however only for the first occurance of Delivery Address in the repeating section, when a new delivery address is created by the Repeating Section "insert new" function, the rules are not copied with the field.

    I have looked at:

    http://www.infopathdev.com/howto/tutorials/default.aspx?i=90fd57693c8d4a6ca547fb27cef150a8

    But this doesn not address the use of a "Same As" check box in a repeating section.

    Any advise would be much appreciated.
  • 06-06-2006 09:11 AM In reply to

    Re: Repeating Section Rule problem

    Do you also have multiple billing address fields? If so you should be able to change your XPath to copy over to the corresponding billing address section.

    If you only have one billing address section, how do you know which shipping address you want to copy?
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 06-06-2006 09:21 AM In reply to

    Re: Repeating Section Rule problem

    Not sure I understand your answer.
    I want only one billing address so why would I have multiple. I have many delivery addresses which are in are peating section and can be replicated many times. I want to select only one of the repeating delivery addreses to be copied into the single billing address.
    Does that make sense or am I missing something?
  • 06-07-2006 11:12 PM In reply to

    • Shiva
    • Top 25 Contributor
    • Joined on 04-15-2005
    • India
    • Posts 694

    Re: Repeating Section Rule problem

    Hi Taffman,

    If you want to change billing address section values for every change, then you need to keep your “rule” on delivery section variables. Whenever you insert a new row then automatically it displays current changed values to billing section. This can be achieved with out using checkbox.
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.