Generate a number of rows in a repeating table based on the vaule of a textbox? - No Code, please - InfoPath Dev
in

InfoPath Dev

Generate a number of rows in a repeating table based on the vaule of a textbox? - No Code, please

Last post 12-14-2011 01:55 PM by Anson Hidajat. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 12-14-2011 01:14 PM

    • hovsepk
    • Not Ranked
      Male
    • Joined on 12-14-2011
    • Kuwait
    • Posts 1

    Generate a number of rows in a repeating table based on the vaule of a textbox? - No Code, please

    Hi,

    One of my customers is complaining from having to click on the "Add New Row" button in a repeating table many times to complete the process. For example, in a form where a user enters the details of a published material, s/he has to enter the number of parts this material includes, then enters the details of every part. Hence, in the case where a material inclides 10 parts, the users are forced to click on the button 10 times to populate the repeating table.

    Is there a no-code way, using browser forms only and in IP2010 to achieve the following?

    • In a textbox, the user enters the number of parts this material is made of.
    • IP2010 generates a number of rows in the Parts Repeating Table matching the number in this box.

    This would save my customer's users a lot of clicks.

     Any pointers would be highly appreciated.

  • 12-14-2011 01:52 PM In reply to

    Re: Generate a number of rows in a repeating table based on the vaule of a textbox? - No Code, please

    The answer to this depends on your definition of "no code."  qRules is a pre-written library that acts as code within the form to provide a whole bunch of extra functionality, without you writing a single line of code.  It can definitely do what you're describing.

    If that doesn't satisfy your no code requirement, then I'm afraid you're out of luck.  There's no way to dynamically manipulate repeating groups without using some sort of code.

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 12-14-2011 01:55 PM In reply to

    Re: Generate a number of rows in a repeating table based on the vaule of a textbox? - No Code, please

    Hi there,

    Unfortunately there isn't a no-code solution that will let you insert new rows in a repeating table.

    Perhaps one workaround would be to include 10 empty rows on the repeating table by default.  You could do this by going to the Data Tab --> Default Values.

    Anson Hidajat
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™

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