<text> a field that stores arbitrary length text
- name
- text
- xml namespace
- http://moyaproject.com/db
Defines a text field.
Example
<text name="description" null="no" default=""/>
attributes
name |
purpose |
type |
required? |
default |
choices |
markup |
Format of text field, used by Moya Admin to pick an editor |
text |
No |
"text" |
|
inherited attributes
name |
purpose |
type |
required? |
default |
choices |
blank |
Allow blank? |
boolean |
No |
yes |
|
default |
Default value |
text |
No |
|
|
formfield |
Macro to create a form field, used in admin |
text |
No |
|
|
help |
Additional help text for use in object forms |
text |
No |
|
|
index |
Create index? |
boolean |
No |
no |
|
label |
Short description of field purpose |
text |
No |
|
|
name |
Name of the element |
text |
Yes |
|
|
null |
Allow null? |
boolean |
No |
no |
|
primary |
Use as primary key? |
boolean |
No |
|
|
unique |
Impose unique constraint? |
boolean |
No |
no |
|