<br> <form method='post' action="<?php echo $rootdir; ?> /forms/well_child_care/save.php?mode=new" name='well_child_care' > <!-- the form goes here --> <?php $form = new C_WellChildCare($pid); $a = $form->put_form(); ?> <!-- the form ends here --> <!--REM note our nifty jscript submit --> <a href="javascript:top.restoreSession();document.well_child_care.submit();" class="link_submit">[Save]</a> <br>
/forms/well_child_care/save.php?mode=update&id=<?php echo $_GET["id"]; ?> " name="my_form"> <a href="javascript:top.restoreSession();document.my_form.submit();" class="link_submit">[Save]</a> <br> <a href="<?php echo $GLOBALS['form_exit_url']; ?> " class="link" onclick="top.restoreSession()">[Don't Save Changes]</a> <br></br> <!-- Form goes here --> <?php include_once "C_WellChildCare.class.php"; $form = new C_WellChildCare($pid); $a = $form->put_form($obj); ?> <!-- Form ends here --> <a href="javascript:top.restoreSession();document.my_form.submit();" class="link_submit">[Save]</a> <br> <a href="<?php echo $GLOBALS['form_exit_url']; ?> " class="link" onclick="top.restoreSession()">[Don't Save Changes]</a> </form> <?php formFooter();