Submit form data to torro form via REST
-
Dear Author,
Its a great plugin though and working perfectly fine.
However i have a different scenario to use this plugin.
Once the form is loaded e.g https://localhost/wp-test/forms/formtest at this page. Its loaded inside the wordpress theme, the post request is handled by the custom post type.
I am just caching the plain html rendered by the theme and serving it to the end user from a different domain, In short words I am not loading wordpress theme at all.
Once the form is rendered in html and i had put it under cache let say https://localhost/wordpress-cache/forms/formtest , than there is no way to handle the submit functionality.
All i want to do is to write an ajax method in javascript that will post data to a REST API / torro forms will handle and save data in database.
Hope i am much clearer , Your answer will be highly appreciated.
Many Thanks
- The topic ‘Submit form data to torro form via REST’ is closed to new replies.