Location: PHPKode > projects > FiForms Framework > FiForms/apps/books/forms/publishers.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" height="400" location="no" menubar="no" resizable="yes" scrollbars="yes" svctlPosition="right" toolbar="no" viewsAllowed="both" whichControls="all" width="500" window="authors" defaultView="sheet" version="1.1" xmlns="http://www.w3.org/1999/xhtml" xmlns:fiform="http://xml.fiforms.org/FiForms/">
<fiform:title>Edit Book Publishers</fiform:title>
<fiform:summary>
    Add or modify book publishers.
</fiform:summary>
<fiform:connect db="fiforms_sample" id="1" server="localhost" update="publishers">
</fiform:connect>
<fiform:iText caption="Publisher Name" field="PUB_NAME" size="50"/>
<fiform:if param="sheetView" test="does not equal" value="YES">
<fiform:iText caption="Address" field="PUB_ADDRESS" size="30"/>
</fiform:if>
<fiform:iText caption="City" field="PUB_CITY"/>
<fiform:if param="sheetView" test="does not equal" value="YES">
<fiform:iText caption="State" field="PUB_STATE" size="5"/>
<fiform:iText caption="Zip" field="PUB_ZIP" size="10"/>
<fiform:iText caption="Country" default="USA" field="PUB_COUNTRY"/>
<fiform:iText caption="Phone #" field="PUB_PHONE"/>
<fiform:iText caption="Website URL" field="PUB_WEBSITE" size="30"/>
</fiform:if>
<fiform:if param="sheetView" test="equals" value="YES">
<fiform:iCustomInput caption="Link" expression="&lt;a href=&quot;%PUB_WEBSITE%&quot; target=&quot;_blank&quot;&gt;%PUB_WEBSITE%&lt;/a&gt;" />
</fiform:if>
</fiform:fiform>
Return current item: FiForms Framework