Country selectorThis example illustrates how you can programmatically update the
content of a selection list using a collection built in the flow.
This sample illustrates event-handling in Cocoon Forms and how selection lists can be changed
Event-handlers are defined in the form definition to update the selection lists and set
Selection widgets also have a "submit-on-change" attribute set in the form template so that
changes are considered immediately by the server.
See "countryselector_form.xml" and "countryselector_template.xml" to see how this is done.
Back to Forms samples