Form!

This form-template can be found in: templates/test/test.ftmpl
Static Options This select field is quite static...

In this case, the options of the select field are part of the templates.
Options from a datasouece The next select box is more dynamic!

Actually this form-definition contains the information how to get the options from a datasource-object. In this case, the used datasource-object (named test in include/wbFormDatasouce/Test.php) is very simple: The call of the method getValues() just returns a simple array.
Using Attributes The next example shows a very common application of datasources.

The datasource used in this case (table in include/wbFormDatasouce/Table.php) connects to a database and returns the entries of a specified table (user for example) as select options. Furthermore all attributes of the used tag are passed to the datasource. So it is very easy to use attributes like function parameters.