You are viewing limited content. For full access, please sign in.

Question

Question

I disabled a table, but it keeps adding rows

asked on July 24, 2024

Working in Forms Designer...

I have a table on a form. It must add a row for four steps in a row. I disabled the table on the fifth step thinking it would not add any more rows, but that hasn't happened. Is disable used primarily as a read-only function and doesn't actualy disable the function of the table? If so, does anyone know a work around other than creating an additional form?

To ensure the table & fields weren't overruling each other, I set rules to disable the table itself and again for each additional field.

 

 

0 0

Replies

replied on July 24, 2024 Show version history

If your table is appending from a lookup, it will continue to populate rows.  If your table is a range, it will disable the table and now allow a user to add additional rows.  

1 0
replied on July 24, 2024 Show version history

You're correct that disabling a field or table only sets it to read-only and doesn't disable the function itself.

Under Advanced, there are settings to limit the number of rows that can be added.

You can either set a range from 1-4, or select "Append rows to the rows populated by a data source or variable" and set the min and max to 0, so nothing can be added beyond what is originally populated based on your lookup. (Or set both to 4 if you're wanting to add 4 rows after your lookup, I'm a little fuzzy on your setup. Sorry!)

 

1 0
replied on July 24, 2024

I tried the range and it worked for me, but I don't want the add button. I'm not great with javascript or css. Just winging it most of the time.

In the old designer, the zero's worked perfectly, but that was probably because I kept designing individual forms for each step. Now that I want to use one form for the entire process, it won't work. Unless I design a secondary form when I want to break the table.

This is what my table looks like.

Users have to acknowledge notification, but it is in 4 steps...supervisor, manager, director, and CAO. Any steps beyond that shouldn't add any more rows.

0 0
replied on July 24, 2024

I'll play around with CSS because I'm sure there's a way to hide the Add button, but you can replace "+ Add" under "Text for Add Row Link" with just a space, and it won't error out for being blank. Just fyi haha

0 0
replied on July 24, 2024

Nevermind, that was simpler than I thought!

Here's the CSS to hide the Add button on a table:

.table-row-add {
  display: none !important;}
1 0
replied on July 24, 2024

Thanks. That helps!

0 0
replied on July 24, 2024

No problem at all, happy to help!

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.