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

Question

Question

Modify the "Add" link on a table

asked on February 6, 2020

Can someone tell me how to customize the "Add" link to add a row in a table or collection?  Either change the formatting of the text or even the word Add?

0 0

Answer

SELECTED ANSWER
replied on February 6, 2020

You can add CSS to the CSS/JavaScript portion of the form to control that more specifically. The links for tables and collections each have a different class, but you can target them with something like the following:

.cf-table-add-row,
.cf-collection-append {
    font-size: 14px;
    font-weight: bold;
}

It will require more if you only want to target a specific table/collection.

3 0

Replies

replied on February 6, 2020 Show version history

The formatting of the text is a separate matter, but changing the label can be done in the field configuration. Just click "edit" on the table in the form designer and scroll down to the Rows section.

 

Collections have a similar setting.

1 0
replied on February 6, 2020

Ah, well that part is easy,  now i have a request to make the add link bigger and bold.  any help is appreciated.

1 0
SELECTED ANSWER
replied on February 6, 2020

You can add CSS to the CSS/JavaScript portion of the form to control that more specifically. The links for tables and collections each have a different class, but you can target them with something like the following:

.cf-table-add-row,
.cf-collection-append {
    font-size: 14px;
    font-weight: bold;
}

It will require more if you only want to target a specific table/collection.

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

Sign in to reply to this post.