How it works? To enable ajax add atribute "ajaxget" for any field in template. Now you can implement action 'ajax' in your php. Create form object and make your changes. Calling $form->ajaxsync(); will synchronize the form with onscreen form. Look at the source!