Categories


Back to Multiple Selections...

The last tab in the Forms Editor is used to edit the categories. Within categories you can describe hierarchies. The structure of the hierarchies are defined in a simple XML document. The DTD (default for the document structure) is like the following:

<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT root (category)*>
<!ATTLIST root initial CDATA #REQUIRED>
<!ELEMENT category (category)*>
<!ATTLIST category name CDATA #REQUIRED>

We illustrate the whole with a simple example:

<root initial="Keine">
<category name="Tiere">
 <category name="Säugetiere">
  <category name="Wale"/>
  <category name="Affen"/>
 </category>
 <category name="Reptilien"/>
 <category name="Insekten"/>
</category>
<category name="Pflanzen">
 <category name="Bäume"/>
 <category name="Blumen"/>
</category>
</root >

If you have entered the XML source-code, you can "validate" it by pressing the corrresponding button. If it complies with the above DTD, the form-view is updated.

Go to Callbacks...

     

Child Pages