Repeating Table Problems. Anyone know? - InfoPath Dev
in

InfoPath Dev

Repeating Table Problems. Anyone know?

Last post 06-11-2012 09:07 AM by Patrick Halstead. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 09-29-2010 03:11 AM

    Repeating Table Problems. Anyone know?

     

    I have a repeating table(B) inside another repeating table(A). Currently i am facing the difficulty to disable the repeating table B that "Don't allow user to insert or delete this control" but can disable A repeating A.

    myFields

     Status

     Group1

        Group2(repeating table A)

          field1

          field2

          Group3 (repeating table B)

            field3

            field4

            field5

     

    From the example above, the status is the dropdownlist that contain value New and Completed. When i select the status to "Completed", i wanna disable the repeating table A and B that do not allow to insert and delete item. With the formatting rule of "Status = Completed" created and enable the "Don't allow user to insert or delete this control" to repeating table A and B. When i preview the form, the repeating table A is not able to insert/delete item but the repeating table B able to insert/delete item. Any wrong on my design or rules? Anyone can help me? I had attach the example infopath form. I am using Infopath designer 2010 to create the form.
  • 06-08-2012 10:12 AM In reply to

    Re: Repeating Table Problems. Anyone know?

    I am experience this same issue. Does anyone have a solution or reason for why this is happening. Please let me know. Thank you.

  • 06-11-2012 09:07 AM In reply to

    Re: Repeating Table Problems. Anyone know?

    The best way to do this is to add a non-repeating parent group above group3 but below the group2. Then, add a section to the form for this group and add the repeating table for group3 in this section.  Now, select the section and copy it (ctrl-c) and paste a copy (ctrl-v) underneath the current section. So now you have two controls in the view that bind to the same data source group. Add conditional formatting rule to one of the sections to hide the section control if the status is completed. Add conditional formatting to the other section to hide it if the status is new. If you want the ability to add just one row (instead of hiding the entire table) you can right click on the child repeating table in the section designer and disable insert delete on the properties tab - that will remove the blue insert widget. You will then need to add a default value for the row - so the user can enter one row of data.

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