initial support for multiple browser windows
[openemr.git] / contrib / forms / example / new.php
blob59391cc0bec57cd05cc6f1b587e208c436dba79e
1 <?
2 include("../../../library/api.inc");
3 //use the suggested header
4 formHeader("newerpatient form");
5 ?>
7 <--REM note that every input method has the same name as a valid column, this will make things easier in save.php -->
8 <form method=post action="./save.php" name='newerpatient'>
9 <span class=title>Newer Patient Encounter Form</span>
10 <br>
12 <span class=text>Why this new visit?</span><br>
13 <textarea name=reason cols=40 rows=6 wrap=virtual></textarea>
15 <br>
17 <span class=text>do you like cats?</span> <input type=text name=cats>
19 <br>
21 <--REM note our nifty jscript submit
22 <a href="javascript:top.restoreSession();document.newerpatient.submit();" class="link_submit">[Save]</a>
23 <br>
24 </form>
26 <br><br>
27 <hr>
29 <?php
30 formFooter();