initial support for multiple browser windows
[openemr.git] / contrib / forms / example / view.php
bloba8600d76c8e173b44809f320cbd213b4d0085487
1 <?
2 include("../../../library/api.inc");
3 formHeader("View my form");
4 ?>
6 <form method=post action=save.php name=new_encounter>
7 <input type=hidden name=id value='<?echo $_GET["id"];?>'>
8 <span class=title>New Patient Encounter Form</span>
9 <br>
11 <span class=text>Reason for Visit:</span><br>
12 <textarea name=reason cols=40 rows=6 wrap=virtual><?
13 $result = formFetch('newer_patient', "7");
15 echo $result["reason"];
17 ?></textarea>
19 <br>
20 <?php
21 echo "<input type='text' name='cats' value='{$result['cats']}'>";
23 <br>
24 <a href="javascript:top.restoreSession();document.new_encounter.submit();" class="link_submit">[Save]</a>
25 <br>
26 </form>
28 <?php
29 formFooter();