Is it possible to hide the delete row X on a table? We would like users to be able to add a row but not delete, and we can get it to work for a collection but not a table. Thanks for any ideas!
Is it possible to hide the delete row X on a table? We would like users to be able to add a row but not delete, and we can get it to work for a collection but not a table. Thanks for any ideas!
If there is only one table on the form you can use:
.cf-table-delete{display:none!important;}
This will remove the delete row X from all tables in your form. If there are multiple tables but you only want to remove the delete row X from one table, then give the table a CSS class (in this example I use "tableWithNoRemove"):
Then use the following CSS:
.tableWithNoRemove .cf-table-delete{display:none!important;}
This results in the following:
Thank you so much!
What would cause this not to work?
Hi Christa,
The original answer was for classic form only. For new form, try use .table-row-remove. And if you only want a specific table to remove delete button, assign some class to the table and update the css like below
.removetable .table-row-remove
{
display:none;
}