r9434: moved the registry editor into a common js library. Deryck, does this
[jra/samba/.git] / swat / esptest / formtest.esp
index 2d7c33e518f4322fad7133d75079b5b223b712f2..23108498954b0f03ff46a866ad1290d3925f5374 100644 (file)
@@ -1,4 +1,6 @@
-<% page_header("columns", "ESP Form Test"); %>
+<% page_header("columns", "ESP Form Test", "esptest"); 
+   include("/scripting/forms.js");
+%>
 
 <%
 var f = FormObj("FormTest", 3, 2);
@@ -15,7 +17,7 @@ f.element[2].value = form['Color'];
 f.submit[0] = "OK";
 f.submit[1] = "Cancel";
 
-display_form(f);
+f.display();
 
 <%
   /* if its a post then the user has filled in the form, so