Location: PHPKode > projects > FiForms Framework > FiForms/apps/books/forms/categories.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE fiform:fiform PUBLIC "-//FIFORMS//DTD FIFORMDEF 1.0//EN" "http://xml.fiforms.org/dtd/11/FiForm.dtd">
<fiform:fiform allowInsert="yes" ctlPosition="bottom" defaultView="sheet" height="400" location="no" menubar="no" resizable="yes" scrollbars="yes" svctlPosition="right" toolbar="no" viewsAllowed="both" whichControls="all" width="500" window="categories" version="1.1" xmlns="http://www.w3.org/1999/xhtml" xmlns:fiform="http://xml.fiforms.org/FiForms/">
<fiform:title>Book Categories</fiform:title>
<fiform:summary>
List the categories a book belongs to.
</fiform:summary>
<fiform:connect db="fiforms_sample" id="1" server="localhost" update="categories">
</fiform:connect>
<fiform:iText caption="Category Title" field="CAT_TITLE" size="40"/>
<fiform:iDBSelect caption="Parent Category" field="CAT_PARENT_ID" rowQuery="(SELECT CAT_ID, CAT_TITLE FROM categories) UNION (SELECT NULL, NULL)">

</fiform:iDBSelect>
<fiform:iTextArea caption="Category Description" cols="40" field="CAT_DESC" rows="5"/>
</fiform:fiform>
Return current item: FiForms Framework