Could someone explain me how to do this very simple example:
I've got my template Page associated to a class and public static function which make it fetch a defined template.
On this template, I want to create a form to enter a number, then once I press the submit button the post data is sent to php callback which multiply the number by 2.
With a traditional html/php pages, I can do it this way
<form id="fieldForm" action="myfile.php" method="post">
Once my number has been multiplied by 2, I would like to display the PHP output (callback I guess for XF) inside the same page.
With a traditional/php pages, I can use the nice Jquery addon ajaxForm, which will do almost all the work for me.
If someone could write this kind of guide for dummies, it would be really nice