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

Question

Question

How to disable add/delete row in table? (Forms 9.2)

asked on October 16, 2014

Hi,everyone.

I wonder how to disable add/delete row button in the table. I have to make a table just to retrieve information into, so no need to add or delete row. How to code that?

Thanks in advance.

1 0

Answer

SELECTED ANSWER
replied on October 16, 2014 Show version history

You will need to do 2 things to accomplish this, no code necessary:
    1. Under "Row type", uncheck the Repeatable checkbox
    2. Under "Row labels", select "Add a row" for each row you would like the user to fill out.

If you'd like to learn about further customizing tables in Laserfiche Forms, feel free to take a look at the Tables page in the Laserfiche Forms help files.  

2 0
replied on October 16, 2014

Thank you Caroline,

This make me learn how to set this feature in another way.

But It doesn't  fit for this requirement regarding  some blank record was displayed

and that is not flexible setting for unpredictable information.

 

 

0 0

Replies

replied on October 16, 2014

To follow up on Caroline's answer. If you wanted to do this with CSS you can just give your table a CSS class, for example "My_Class" and then use the following CSS to hide the add/remove buttons:

.My_Class .cf-table-add-row {display:none!important}
.My_Class .form-del-field {display:none!important}

 

8 0
replied on October 16, 2014

Hi Scott Wilson,

      This answer 's fit my user's requirement,because  all they want is just displaying information form database without blank record.

Appreciate your help,

Bongkoch.

0 0
replied on July 24, 2023

This helped me, thank you!

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

Sign in to reply to this post.