Changed at 24 January 12 / 11:45
I would like to display my (DB)form again on sumbit if indicated by the user. Right now I have a checkbox but my simple idea:
<?php
$form->checkBox('Voer nog een urendeclaratie in','morehours');
function saved($ID,$data){
if($data['morehours']) $form->flush();
}
?>
doesn't seem to work. Do I have to create a new form to display the second time or are there more elegant solutions?