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

Question

Question

Hide Add New row in Collection

asked on July 18, 2019

How do I hide the "Add new row" link in a collection in a form please?

 

Thanks

Priya

0 0

Replies

replied on July 18, 2019

You can set the collection to have a fixed amount of rows or set a maximum. The person filling out the form won't be able to add new rows if that limit is reached.

2 0
replied on July 18, 2019

Jared,

  Thanks. The person filling out the form should be able to enter dynamic number of rows. But, when it goes to approval step, I do not want the approver to be able to add new rows. What is the best way to do this please? Thanks.

 

Priya

0 0
replied on July 21, 2019

One option would be to go to the CSS and Javascript tab of the approval form and use the something like the following:

$(document).ready(function(){
  $('#q3').hide();
});

You will need to change the 3 in $('#q3') to what number yours has in the id above the add link.

This does mean that you will have a different form between the two steps. If you are currently using one, you can copy the current form and then add the code the the modified form.

0 0
replied on August 22, 2019

Thanks. If I do that, it hides the whole collection. I just want to hide the Add link for the approvers.

 

Priya

0 0
replied on August 23, 2019

In the image below it would be the q4, not the q5. This should just hide the link and not the collection. Hiding q5 would hide the entire table and the link.

0 0
replied on August 23, 2019

Thanks

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

Sign in to reply to this post.