[cvs] [Wiki] changed: Doc/Dev/FormPackage
Chuck Hagenbuch
chuck at horde.org
Wed Feb 28 13:20:56 PST 2007
chuck Wed, 28 Feb 2007 13:20:56 -0800
Modified page: http://wiki.horde.org/Doc/Dev/FormPackage
New Revision: 1.12
Change log: Remove duplicate <?php openings
@@ -10,10 +10,8 @@
The following code could be used to fill a form through Horde_Form, for example to edit a record. The example is a bit abstracted from reality, in that you would also need to build some validation around this code, checking for a form submission, etc. to eventually have a useable form.
<code type="php">
-<?php
-
/* Require and set up Horde_Form. */
require_once 'Horde/Form.php';
require_once 'Horde/Form/Renderer.php';
require_once 'Horde/Variables.php';
@@ -55,9 +53,8 @@
Here's an example that uses the conditional_enable action to enable a text description if the user picks "Other".
<code type="php">
-<?php
/**
* Example for the conditional_enable action.
*/
@@ -89,10 +86,8 @@
----
<code type="php">
-<?php
-
require_once 'Horde/Form.php';
require_once 'Horde/Variables.php';
require_once 'Horde/Form/Renderer.php';
@@ -123,10 +118,8 @@
----
<code type="php">
-<?php
-
require_once 'Horde/Form.php';
require_once 'Horde/Form/Renderer.php';
require_once 'Horde/Variables.php';
More information about the cvs
mailing list