I inserted a form using the plugin.
Is it possible to replace the whole article by some content generated by a php script on submit?
Hi canis,
In theory yes I think you could but I've never tried it. You can create an article from a form using submit_content form that you can get from the downloads area here. You'd then need to set the article id to the id of the current article and keep your fingers crossed.
Bob
Thankyou for the solution suggestion, but I think that will lead to a lot of trash, especially when expecting that multiple users use it at the same time.
That sounds as if it will be better to rewrite my php code to JavaScript and replace the contents of the <div>
BTW: How can I avoid that the form will be send?
Hi canis,
Sorry I don't understand your questions, can you say a bit more please.
Bob