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

Question

Question

Can I easily disable the add button on a collection field?

asked on January 10, 2019

Is there a way to easily disable the add button on a collection field if we decide we no longer want it to be a collection field?

CASE SCENARIO:  Form built with a complicated table within a collection field.  After testing, we realize that one line is all we need on the table or the need for more than one line is no longer valid. 

I can't seem to simply pull the table out of the collection field.  Would rather not have to rebuild the table from scratch.  Tried just removing the word ADD but the form configuration would not let me.  

What about hiding just the view of that ADD option?  Could it be done using CSS or JavaScript and, if so, what would be the code to use?

0 0

Answer

SELECTED ANSWER
replied on January 10, 2019

Hi Connie,

The quick way to do this would be to limit the amount of sets that the collection can contain in the Collection Options section:

If you set the number of sets to 1, then the Add button is hidden automatically. Hope this helps!

1 0
replied on January 10, 2019

Ha!  Awesome!  Thank You!

0 0

Replies

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

Sign in to reply to this post.