Delete Repeating Section - InfoPath Dev
in

InfoPath Dev

Delete Repeating Section

Last post 10-02-2013 10:36 AM by Jimmy. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 09-26-2013 02:43 AM

    Delete Repeating Section

    Hi

    I am working on a web based Infopath 2010 form and I would like to delete repeating section on the form.

    By default these sections get created as user fill up the form in tab 1 and tab 2 has repeating section that gets generated as per number of items in tab1

    User are not allowed to insert and delete section manually on tab2 as I have disabled that option from the form

    I have a radio button when selected should (delete all section - 1). 

    How can I achieve this functionality (code option is fine too)

    Thanks 

     

  • 09-29-2013 10:11 PM In reply to

    Re: Delete Repeating Section

    Adding and deleting sections dynamically is not possible without some sort of code, but the Delete command in Qdabra's qRules makes this quick and easy. I recommend you try out the free trial and let us know if we can help with setting it up.

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 10-01-2013 02:28 AM In reply to

    Re: Delete Repeating Section

     Thanks Jimmy ... I dont mind using code can you pls post some sample code that can help

  • 10-01-2013 07:59 AM In reply to

    Re: Delete Repeating Section

     Hi subsoft,

     We do not provide code support on this forum and I recommend that you try out qRules as it already has 95% of the code-only functionality that people need and will greatly simplify your task. If you really want to use code and are willing to buy a 1-hour support pack from Qdabra, we can assist you with getting your code written.

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 10-02-2013 05:42 AM In reply to

    Re: Delete Repeating Section

     Hi Jimmy I have downloaded the trial version of qrules ... can you please send me some sample command to check number to empty repeating sections

    Thanks 

     

  • 10-02-2013 10:36 AM In reply to

    Re: Delete Repeating Section

     I would suggest going through the quick start guide to see how qRules works, but basically you execute a command by setting a value to the Command field in the QdabraRules data source. In this case, you would use a command like this when you want to clear out section 1:

    Delete /xpath=/my:myFields/my:path/my:to/my:section1Rows

    Naturally, you would need to put in the actual XPath for the bold part there.

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.