What form input types are there?
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.
A simple form to get started.
// Set up this data as a new Horde_Form_Vars object.
// Get formname var to check if submitted later on.
// Get the form object, setting the vars and the title.
// Set up the form fields.
// Check if form submitted and validate.
// Do something with this form data.
// Render out the form.
Here's an example that uses the conditional_enable action to enable a text description if the user picks "Other".
// Check if one form is not valid.