Remove ability to delete rows in repeating section

  • 2 December 2015
  • 4 replies
  • 21 views

Badge +2

How would I go about removing the black x to delete rows in a repeating section? I want users to be able to add rows, just not delete rows. Best case scenario, I could use rules to show/hide the delete row x.


4 replies

Userlevel 6
Badge +16

You can change the css that is using that image.

The class name is nf-repeater-deleterow-image

Set it to

 

.nf-repeater-deleterow-image {

    visibility: hidden;

}

Badge +2

That is perfect! Is there a way to set the visibility to hidden based on whether or not the user logged in is a member of a sharepoint group? We have an owners group we'd like the delete option to appear for, but no one else.

Badge +2

Is there a way to set the visibility to hidden based on whether or not the user logged in is a member of a sharepoint group? We have an owners group we'd like the delete option to appear for, but no one else.

If there is a better way to do this, please let me know. Thanks!

Badge

Can you tell me if you ever found an answer to this question? Im trying to do the same thing, hide based on a field value.

Reply