Limiting the amount of rows in a repeating table - InfoPath Dev
in

InfoPath Dev

Limiting the amount of rows in a repeating table

Last post 02-25-2008 11:30 AM by lou131. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 02-19-2008 10:20 AM

    • lou131
    • Top 100 Contributor
    • Joined on 02-12-2007
    • USA
    • Posts 89

    Limiting the amount of rows in a repeating table

    Hi,

    I want to limit the amount of rows that an end user can add to a repeating table.  For example, the default is 1 row when the form is opened.  Is there a way to limit the table to 4 rows maximum?  This will help to keep my form from growing to large with many row entries.

    Also, is there a way to stop an end user from deleting the default first row which removes the entire table?

    Thanks
    Lou

  • 02-20-2008 07:46 AM In reply to

    Re: Limiting the amount of rows in a repeating table

    Hey Lou.

    If you want to make the default row permanent I would put two repeating tables. One with a header and that does not allow inserts or deletes and has conditional formatting that if rownumber does nto equal 1 hide.

    Then place a second repeating table below it without a header and that if row number = 1 hide (since it is displayed above) and row number > 4 do not allow insert.

  • 02-25-2008 10:32 AM In reply to

    • lou131
    • Top 100 Contributor
    • Joined on 02-12-2007
    • USA
    • Posts 89

    Re: Limiting the amount of rows in a repeating table

     

    ok...thanks.

    I  will give it a try.

  • 02-25-2008 11:30 AM In reply to

    • lou131
    • Top 100 Contributor
    • Joined on 02-12-2007
    • USA
    • Posts 89

    Re: Limiting the amount of rows in a repeating table

    Here's a stupid question....

    In the conditional fomatting, how do you set the rownumber condition??

    Thanks
    Lou

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