How do I hide the "Add new row" link in a collection in a form please?
Thanks
Priya
How do I hide the "Add new row" link in a collection in a form please?
Thanks
Priya
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.
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
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.
Thanks. If I do that, it hides the whole collection. I just want to hide the Add link for the approvers.
Priya
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.
Thanks