Nintex for SharePoint Forum
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
try this
NWF.FormFiller.Events.RegisterAfterReady(function () {
if ( Is Edit Mode){
NWF$('.rsLineItems .nf-repeater-row:not(.nf-repeater-row-hidden) .nf-repeater-deleterow-image').css("visibility", "hidden");
}
})
Thank you.
The page never seems to load. I will experiment some and see what I come up with.
One thing I also tried but it does not work is to .removeclass() when the the initial items populate the list. That does not work either.
forgot to point out that "Is Edit Mode" text has to be replaced with IsEditMode reference.
did you do it or simply copy&pasted the script?
Yes. then changed to IsEditMode.
I also comment that out and tried just
NWF$('.rsLineItems .nf-repeater-row:not(.nf-repeater-row-hidden) .nf-repeater-deleterow-image').css("visibility", "hidden");
I also tried it with rest of my code that preloads the entries. Same thing.
Please wait... comes up and it will eventually time out.
try to run the form with developer console open to see what errors are reported
It works. I re copied the code in there. Removed the reference to the edit only since it will be used in new and edit.
I am not sure what happened before. Cached maybe. Not sure. It works and moving forward will be easier.
Even the indexes appear right. No more deleting the first delete-able row and the last row gets deleted.
Thank you for all your help on this.
This will make it easier for the users to update the lookup list contents and not need to bother me as much.