I need to create an entry from my UI after the user triggers a particular event on the page.
I want this to happen automatically and not rely on the user to submit a form.
Is there a way to create an Entry from a twig template (i.e. by calling the required controller function)? If not, is there an existing plugin that could work?
My content structure is something like this:
mySection = name of Channel that the entires will belong to. Has the following fields: myField1 = number myField2 = text myField3 = number user = craft user field (relates the entry to an appropriate user)
I was hoping I could set those variable and call some sort of submit/save function to create the new Entry.