I have added a button to the ribbon for a specific content type on a list (parent list). This is the only content type on the parent list. When an item in the parent list is selected and then the user clicks the button a child item (using newform.aspx) is to be created that is related to the selected parent item.
How is it possible that I can pass values from the selected parent item (e.g. ID and Category, etc.) to the NewForm.aspx for the child item on click of ribbon button?