I can use the following JS code on my main site to create an image link to pull up an input page just like when you click on the "+ Add new item" at the bottom of a list:
I have used this same code (hopefully I didn't mis-copy some part of the code) many times throughout my site. I now have a sub-site where I'm trying to be able to click the image from a list on my primary site and be able to have input from the sub-site and have it input onto the primary site list. The error which comes after I click this is that the list I have referenced does not exist, which make sense because the list doesn't exist on this sub-site. What do I have to do differently with the above code to allow this New Item pop-up to work on my sub-site or can I even?
Doing some further research online, I can say I am basically using the method talked about on this page. I am using a core function to produce a New Item pop-up.