Answer the question
In order to leave comments, you need to log in
How to send submission(Zoo) using ajax?
I am doing an extended functionality of reviews (you need to add a photo and some more jokes).
In general, you need to send the Submission form of the material from the page of the material itself, and not the menu item (as is standardly implemented)
as I came up with to do this
1) create a menu item with submission
2) on the material page I hang a script that loads this form by clicking (jquery Load) on page of the material
3) the required fields are automatically filled in
4) I send the form
What problems?
1) if I send using standard means, then it redirects to another page (as specified in the menu settings),
so I want to send using AJAX - but it gives an Invalid Token error (it seems that I am preparing the data for sending incorrectly)
2) when sending material - Primary Category is saved, but Category - No!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question