<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>widget:type[ Search for &quot;&quot;]</title>
        <description></description>
        <link>http://xataface.com/wiki/index.php?-action=single_record_search&amp;-table=wiki&amp;page_id=%3D4&amp;-cursor=0&amp;-skip=0&amp;-limit=30&amp;-mode=list&amp;--subsearch=</link>
        <lastBuildDate>Tue, 21 May 2013 19:19:45 +0100</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>widget:type</title>
            <link>http://www.xataface.com/wiki/widget:type</link>
            <description>&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Field&lt;/th&gt;&lt;th&gt;Value&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Page name&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;widget:type&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Page id&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;4&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Page title&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;widget:type&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Content&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;
&lt;h2 id=&quot;toc0&quot;&gt;widget:type Directive Reference&lt;/h2&gt;
&lt;p&gt;The widget:type directive in the &lt;a href=&quot;/wiki/fields.ini_file&quot;&gt;fields.ini file&lt;/a&gt; specifies the type of widget that should be used to edit a particular field in HTML forms.  Xataface uses &lt;a href=&quot;http://pear.php.net/package/HTML_QuickForm/&quot; onclick=&quot;window.open(this.href, '_blank'); return false;&quot;&gt;HTML_QuickForm&lt;/a&gt; for its form generation so theoretically any widget supported by HTML_QuickForm should work with Xataface.&lt;/p&gt;


&lt;h3 id=&quot;toc1&quot;&gt;Available Widget Types&lt;/h3&gt;


&lt;table class=&quot;listing listing2&quot;&gt;
    &lt;tr&gt;
        &lt;th&gt; Name&lt;/th&gt;
        &lt;th&gt; Description&lt;/th&gt;
        &lt;th&gt; Version&lt;/th&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt; &lt;a href=&quot;/wiki/advmultiselect&quot;&gt;advmultiselect&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt; Two select lists with add/remove buttons.  Selected items appear in the right select list.  Options may be selected from the left select list.&lt;/td&gt;
        &lt;td&gt; 1.0&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt; autocomplete&lt;a href=&quot;/wiki/index.php?-action=new&amp;-table=wiki&amp;page_name=autocomplete&quot;&gt;?&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt; An autocomplete. text field.  This is not to be confused with the yui_autocomplete&lt;a href=&quot;/wiki/index.php?-action=new&amp;-table=wiki&amp;page_name=yui_autocomplete&quot;&gt;?&lt;/a&gt; widget.  The main difference is that this widget does not provide a drop-down list of possibilities, it just tries to complete what the user is typing inside the text field based on a valuelist.&lt;/td&gt;
        &lt;td&gt; all&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt; &lt;a href=&quot;/wiki/calendar&quot;&gt;calendar&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt; A DHTML pop-up calendar to select the date.  &lt;img src=&quot;http://media.weblite.ca/files/photos/calendar_widget.png?max_width=400&quot; alt=&quot;http://media.weblite.ca/files/photos/calendar_widget.png?max_width=400&quot; width=&quot;400&quot; height=&quot;185&quot; /&gt;&lt;/td&gt;
        &lt;td&gt; 0.5.3&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt; &lt;a href=&quot;/wiki/checkbox&quot;&gt;checkbox&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt; A checkbox or checkbox group. &lt;p&gt;Example 1: Checkbox as boolean on Tinyint field.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://media.weblite.ca/files/photos/checkbox_widget.png?max_width=400&quot; alt=&quot;http://media.weblite.ca/files/photos/checkbox_widget.png?max_width=400&quot; width=&quot;123&quot; height=&quot;23&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Example 2: Checkbox group to allow multiple selections.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://media.weblite.ca/files/photos/checkbox-group_widget.png?max_width=500&quot; alt=&quot;http://media.weblite.ca/files/photos/checkbox-group_widget.png?max_width=500&quot; width=&quot;500&quot; height=&quot;317&quot; /&gt;&lt;/td&gt;
        &lt;td&gt; all&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt; date&lt;a href=&quot;/wiki/index.php?-action=new&amp;-table=wiki&amp;page_name=date&quot;&gt;?&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt; Select lists for month, year, day, hour, etc...&lt;/td&gt;
        &lt;td&gt; all&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt; &lt;a href=&quot;/wiki/file&quot;&gt;file&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt; A file widget (default type for container&lt;a href=&quot;/wiki/index.php?-action=new&amp;-table=wiki&amp;page_name=container&quot;&gt;?&lt;/a&gt; fields and &lt;a href=&quot;/wiki/blob&quot;&gt;blob&lt;/a&gt; fields.  &lt;img src=&quot;http://media.weblite.ca/files/photos/file_widget.png?max_width=400&quot; alt=&quot;http://media.weblite.ca/files/photos/file_widget.png?max_width=400&quot; width=&quot;353&quot; height=&quot;32&quot; /&gt;&lt;/td&gt;
        &lt;td&gt; all&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt; &lt;a href=&quot;/wiki/grid&quot;&gt;grid&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt; A grid widget for editing multiple rows of related records inside the edit form.  Supports adding/removing/reordering. As of version 1.2.5, file uploads are not supported in the grid widget.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://media.weblite.ca/files/photos/grid_widget.png?max_width=500&quot; alt=&quot; http://media.weblite.ca/files/photos/grid_widget.png?max_width=500&quot; width=&quot;500&quot; height=&quot;151&quot; /&gt;&lt;/td&gt;
        &lt;td&gt; 1.0&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt; &lt;a href=&quot;/wiki/group&quot;&gt;group&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt; A compound widget for editing multiple fields but storing the data in a single XML field. &lt;img src=&quot;http://media.weblite.ca/files/photos/group_widget.png?max_width=400&quot; alt=&quot;http://media.weblite.ca/files/photos/group_widget.png?max_width=400&quot; width=&quot;400&quot; height=&quot;352&quot; /&gt;&lt;/td&gt;
        &lt;td&gt; all&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt; hidden&lt;a href=&quot;/wiki/index.php?-action=new&amp;-table=wiki&amp;page_name=hidden&quot;&gt;?&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt; A hidden field &lt;/td&gt;
        &lt;td&gt; all&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt; htmlarea&lt;a href=&quot;/wiki/index.php?-action=new&amp;-table=wiki&amp;page_name=htmlarea&quot;&gt;?&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt; A WYSIWYG (What you see is what you get) HTML editor.  This defaults to &lt;a href=&quot;http://www.fckeditor.net/&quot; onclick=&quot;window.open(this.href, '_blank'); return false;&quot;&gt;FCKeditor&lt;/a&gt;, but &lt;a href=&quot;http://tinymce.moxiecode.com/&quot; onclick=&quot;window.open(this.href, '_blank'); return false;&quot;&gt;TinyMCE&lt;/a&gt; is also supported.  &lt;img src=&quot;http://media.weblite.ca/files/photos/htmlarea_widget.png?max_width=400&quot; alt=&quot;http://media.weblite.ca/files/photos/htmlarea_widget.png?max_width=400&quot; width=&quot;400&quot; height=&quot;172&quot; /&gt;&lt;/td&gt;
        &lt;td&gt; all&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt; &lt;a href=&quot;/wiki/lookup&quot;&gt;lookup&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt; A field that allows users to look-up a record from another table.  THis is a good alternative to a select list.  It doesn't use a vocabulary, so this is appropriate when vocabularies would be unpractical (for large vocabularies).  You do, however need to specify the widget:table directive for the field so that the lookup knows from which table to load the records. &lt;img src=&quot;http://media.weblite.ca/files/photos/Picture%2023.png?max_width=640&quot; alt=&quot;http://media.weblite.ca/files/photos/Picture%2023.png?max_width=640&quot; width=&quot;427&quot; height=&quot;230&quot; /&gt;&lt;/td&gt;
        &lt;td&gt; 1.2&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt; password&lt;a href=&quot;/wiki/index.php?-action=new&amp;-table=wiki&amp;page_name=password&quot;&gt;?&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt; A password field.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://media.weblite.ca/files/photos/password_widget.png?max_width=400&quot; alt=&quot;http://media.weblite.ca/files/photos/password_widget.png?max_width=400&quot; width=&quot;304&quot; height=&quot;35&quot; /&gt;&lt;/td&gt;
        &lt;td&gt; all&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt; select&lt;a href=&quot;/wiki/index.php?-action=new&amp;-table=wiki&amp;page_name=select&quot;&gt;?&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt; A select list.&lt;/p&gt;

&lt;p&gt;Example 1: A single select.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://media.weblite.ca/files/photos/select_widget.png?max_width=400&quot; alt=&quot;http://media.weblite.ca/files/photos/select_widget.png?max_width=400&quot; width=&quot;200&quot; height=&quot;62&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Example 2: A multi-select.  To use a multi-select, add repeat=1 to your fields.ini.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://media.weblite.ca/files/photos/multi-select_widget.png?max_width=500&quot; alt=&quot;http://media.weblite.ca/files/photos/multi-select_widget.png?max_width=500&quot; width=&quot;461&quot; height=&quot;250&quot; /&gt;&lt;/td&gt;
        &lt;td&gt; all&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt; &lt;a href=&quot;/wiki/table&quot;&gt;table&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt; A compound widget for editing tabular data.  This widget dictates the storage format as XML.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://media.weblite.ca/files/photos/table_widget.png?max_width=400&quot; alt=&quot;http://media.weblite.ca/files/photos/table_widget.png?max_width=400&quot; width=&quot;379&quot; height=&quot;143&quot; /&gt;&lt;/td&gt;
        &lt;td&gt; all&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt; text&lt;a href=&quot;/wiki/index.php?-action=new&amp;-table=wiki&amp;page_name=text&quot;&gt;?&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt; A text field&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://media.weblite.ca/files/photos/text_widget.png?max_width=400&quot; alt=&quot;http://media.weblite.ca/files/photos/text_widget.png?max_width=400&quot; width=&quot;331&quot; height=&quot;27&quot; /&gt;&lt;/td&gt;
        &lt;td&gt; all&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt; textarea&lt;a href=&quot;/wiki/index.php?-action=new&amp;-table=wiki&amp;page_name=textarea&quot;&gt;?&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt; A text area (multi-line text field)&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://media.weblite.ca/files/photos/textarea_widget.png?max_width=400&quot; alt=&quot;http://media.weblite.ca/files/photos/textarea_widget.png?max_width=400&quot; width=&quot;400&quot; height=&quot;105&quot; /&gt;&lt;/td&gt;
        &lt;td&gt; all&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt; time&lt;a href=&quot;/wiki/index.php?-action=new&amp;-table=wiki&amp;page_name=time&quot;&gt;?&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt; A select list of times separated by a specified interval (default 30 minutes).&lt;/td&gt;
        &lt;td&gt; 0.7&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt; yui_autocomplete&lt;a href=&quot;/wiki/index.php?-action=new&amp;-table=wiki&amp;page_name=yui_autocomplete&quot;&gt;?&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt; An autocomplete widget ported from the &lt;a href=&quot;http://developer.yahoo.com/yui/autocomplete/&quot; onclick=&quot;window.open(this.href, '_blank'); return false;&quot;&gt;Yahoo UI Library&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://media.weblite.ca/files/photos/yui_autocomplete.png?max_width=400&quot; alt=&quot;http://media.weblite.ca/files/photos/yui_autocomplete.png?max_width=400&quot; width=&quot;311&quot; height=&quot;272&quot; /&gt;&lt;/td&gt;
        &lt;td&gt; 1.0&lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;

&lt;/p&gt;

&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Language&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;en&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;</description>
            <author>widget:type</author>
        </item>
    </channel>
</rss>
