[cvs] [Wiki] changed: Doc/Dev/FormTypes

Jan Schneider jan at horde.org
Mon Mar 26 22:28:46 UTC 2007


jan  Mon, 26 Mar 2007 15:28:46 -0700

Modified page: http://wiki.horde.org/Doc/Dev/FormTypes
New Revision:  2.0
Change log:  Add much more information and new fields

@@ -1,49 +1,53 @@
 + Horde Form Types

 The below is a list of form types that can be used in the addVariable
function

-||~ Type||~ Is rendered as...||
-|| spacer || Blank line. ||
-|| weatherdotcom || ??? ||
-|| header || Header separator. ||
-|| description || ??? ||
-|| html  || ??? ||
-|| number  || ??? ||
-|| int  || ??? ||
-|| octal  || ??? ||
-|| intList  || ??? ||
-|| text  || 40 character text input.||
-|| stringlist  || ??? ||
-|| cellphone  || ??? ||
-|| ipaddress  || ??? ||
-|| longText  || 80x8 character textarea.||
-|| countedText || ??? ||
-|| address || Looks the same as longtext. ||
-|| file  || ??? ||
-|| image  || ??? ||
-|| boolean  || Single checkbox. ||
-|| link  || ??? ||
-|| email  || ??? ||
-|| matrix  || Matrix (table) of checkbox inputs. ||
-|| emailConfirm  || ??? ||
-|| password  || ??? ||
-|| passwordConfirm || ??? ||
-|| enum  || Dropdown from where a single value can be chosen. ||
-|| mlenum  || ??? ||
-|| multienum || ??? ||
-|| radio || ??? ||
-|| set  || same as enum, dropdown  ||
-|| date  || date selector ||
-|| time  || time selector ||
-|| hourMinuteSecond  || Two (yes, two) drop down boxes with 0-23, 0-60. ||
-|| monthYear  || ??? ||
-|| monthDayYear  || Three drop down boxes in that order with javascript
calendar popup chooser. ||
-|| colorPicker  || color selector (popup) ||
-|| sorter  || ??? ||
-|| selectFiles  || ??? ||
-|| assign  || ??? ||
-|| creditcard  || ??? ||
-|| obrowser  || ??? ||
-|| dblookup || ??? ||
-|| figlet  || ??? ||
-|| invalid  || ??? ||
+||~ Type ||~ Long Name ||~ Description ||~ Parameters ||
+|| spacer || Spacer || Blank line. || n/a ||
+|| header || Header || Header separator. || n/a ||
+|| description || Description || || n/a ||
+|| html || HTML || || n/a ||
+|| number || Number || || Fraction ||
+|| int || Integer || || n/a ||
+|| octal || Octal || || n/a ||
+|| intList || Integer List || || n/a ||
+|| text || Text || 40 character text input || Regex, Size, Maximum length
||
+|| stringlist || String list || || Regex, Size, Maximum length ||
+|| phone || Phone number || || n/a ||
+|| cellphone || Mobile phone number || || n/a ||
+|| ipaddress || IP address || || n/a ||
+|| longtext || Long text || 80x8 character textarea || Number of rows,
Number of columns, Helper? ||
+|| countedtext || Counted text || || Number of rows, Number of columns,
Number of characters ||
+|| address || Address || Looks the same as longtext || Number of rows,
Number of columns, Number of characters ||
+|| addresslink || || || n/a ||
+|| file || File upload || || n/a ||
+|| image || Image upload || || Show upload?, Show option to keep original?,
Maximum file size in bytes ||
+|| boolean || True of false || Single checkbox || n/a ||
+|| link || Link || || Link URL, Link text, Link target, Onclick event, Link
title attribute, Link access key ||
+|| email || Email || || Allow multiple addresses?, Strip domain from the
address?, Link the email address to the compose page when displaying?, The
name to use when linking to the compose page, Character to split multiple
addresses with ||
+|| matrix || Field matrix || Matrix (table) of checkbox inputs || Column
titles, Row titles, Matrix values, Append text field or select box? ||
+|| emailConfirm || Email with confirmation || || n/a ||
+|| password || Password || || n/a ||
+|| passwordconfirm || Password with confirmation || n/a ||
+|| enum || Drop down list || Dropdown from where a single value can be
chosen || Values to select from, Prompt text ||
+|| mlenum || Multi-level drop down lists || || Values to select from,
Prompt text ||
+|| multienum || Multiple selection || || Values, Size ||
+|| keyval_multienum || Multiple selection || || Values, Size ||
+|| radio || Radio selection || || Values ||
+|| set || Set || Same as enum, dropdown || Values, Check all? ||
+|| date || Date || Date selector || Format ||
+|| time || Time || Time selector || n/a ||
+|| hourminutesecond || Time selection || Drop down boxes with 0-23, 0-60 ||
Show seconds? ||
+|| monthyear || Month and year || || Start year, End year ||
+|| monthdayyear || Date selection || Three drop down boxes in that order
with javascript calendar popup chooser || Start year, End Year, Show
picker?, Storage format, Display format ||
+|| datetime || Date and time selection || || Start year, End Year, Show
picker?, Storage format, Display format, Show seconds? ||
+|| colorpicker || Colour selection || Color selector (popup) || n/a ||
+|| sorter || Sort order selection || || Values, Size, Header ||
+|| selectfiles || File selection || || Id, Link text, link style, Show
icon? ||
+|| assign || Assignment columns || || Left values, Right values, Left
header, Right header, Size, Width in CSS units ||
+|| creditcard || Credit card number || || n/a ||
+|| obrowser || Relationship browser || || n/a ||
+|| dblookup || Database lookup || || DSN, SQL statement for value lookups,
Prompt text ||
+|| figlet || Figlet CAPTCHA || || Text, Figlet font ||
+|| captcha || Image CAPTCHA || || Text, Font ||
+|| invalid || || || Message ||


More information about the cvs mailing list