List and Library rename the file on upload

Quick update @StepanS. I tried to adapt your code to my scenario and failed. User error probably but don't have the time this morning to hammer on it more than the 20 minutes already spent. I have some deadlines to meet and will take it up again.

Mostly, the code, when merged within my existing function is syntactically unstable. JSHINT is such a great tool and it was not impressed with what I gave it to check!

I have a few related posts talking about this issue. List or Library Control Buttons & Icons shows a short clip of what I need the control to do.

Thank you again for taking the time to give me some ideas to try. The Plumsail community far surpasses any Microsoft support as the users are helping users here. That matters, I think!