Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the cl-forms Reference Manual, generated automatically by Declt version 3.0 "Montgomery Scott" on Tue Dec 22 12:17:28 2020 GMT+0.
• Introduction | What cl-forms is all about | |
• Systems | The systems documentation | |
• Modules | The modules documentation | |
• Files | The files documentation | |
• Packages | The packages documentation | |
• Definitions | The symbols documentation | |
• Indexes | Concepts, functions, variables and data types |
CL-FORMS is a web forms handling library for Common Lisp.
Although it is potentially framework agnostic, it runs on top of Hunchentoot at the moment.
It features:
Use defform
to define a form. Example:
(defform fields-form (:action "/fields-post")
((name :string :value "")
(ready :boolean :value t)
(sex :choice :choices (list "Male" "Female") :value "Male")
(submit :submit :label "Create")))
On your web handler, grab the form via get-form
, select a renderer with with-form-renderer
and then render the form with render-form
:
(let ((form (forms::get-form 'fields-form)))
(forms:with-form-renderer :who
(forms:render-form form))
To handle the form, grab it via get-form
and then call handle-request
(you should probably also call validate-form
after).
Then bind form fields via either with-form-field-values
, that binds the form field values; or with-form-fields
that binds the form fields.
(let ((form (forms:get-form 'fields-form)))
(forms::handle-request form)
(forms::with-form-field-values (name ready sex) form
(who:with-html-output (forms.who::*html*)
(:ul
(:li (who:fmt "Name: ~A" name))
(:li (who:fmt "Ready: ~A" ready))
(:li (who:fmt "Sex: ~A" sex))))))
Plase have a look at the demo sources for more examples of how to use the library
There's a demo included. To run:
Download web assets. From /test/static directory run:
bower install
and then:
(require :cl-forms.demo)
(forms.test:run-demo)
Next: Modules, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
• The cl-forms system |
Mariano Montone
MIT
A web forms handling library
cl-forms.asd (file)
src (module)
Modules are listed depth-first from the system components tree.
• The cl-forms/src module | ||
• The cl-forms/src/themes module | ||
• The cl-forms/src/fields module |
Next: The cl-forms/src/themes module, Previous: Modules, Up: Modules [Contents][Index]
cl-forms (system)
src/
Next: The cl-forms/src/fields module, Previous: The cl-forms/src module, Up: Modules [Contents][Index]
package.lisp (file)
src (module)
src/themes/
Previous: The cl-forms/src/themes module, Up: Modules [Contents][Index]
cl-forms.lisp (file)
src (module)
src/fields/
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files |
Next: The cl-forms/src/package․lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
cl-forms.asd
cl-forms (system)
Next: The cl-forms/src/themes/theme․lisp file, Previous: The cl-forms․asd file, Up: Lisp files [Contents][Index]
Next: The cl-forms/src/themes/default․lisp file, Previous: The cl-forms/src/package․lisp file, Up: Lisp files [Contents][Index]
themes (module)
src/themes/theme.lisp
form-theme (class)
Next: The cl-forms/src/themes/specials․lisp file, Previous: The cl-forms/src/themes/theme․lisp file, Up: Lisp files [Contents][Index]
theme.lisp (file)
themes (module)
src/themes/default.lisp
default-form-theme (class)
Next: The cl-forms/src/cl-forms․lisp file, Previous: The cl-forms/src/themes/default․lisp file, Up: Lisp files [Contents][Index]
default.lisp (file)
themes (module)
src/themes/specials.lisp
*form-theme* (special variable)
Next: The cl-forms/src/fields/string․lisp file, Previous: The cl-forms/src/themes/specials․lisp file, Up: Lisp files [Contents][Index]
themes (module)
src (module)
src/cl-forms.lisp
Next: The cl-forms/src/fields/boolean․lisp file, Previous: The cl-forms/src/cl-forms․lisp file, Up: Lisp files [Contents][Index]
fields (module)
src/fields/string.lisp
Next: The cl-forms/src/fields/email․lisp file, Previous: The cl-forms/src/fields/string․lisp file, Up: Lisp files [Contents][Index]
fields (module)
src/fields/boolean.lisp
format-field-value (method)
Next: The cl-forms/src/fields/password․lisp file, Previous: The cl-forms/src/fields/boolean․lisp file, Up: Lisp files [Contents][Index]
fields (module)
src/fields/email.lisp
Next: The cl-forms/src/fields/url․lisp file, Previous: The cl-forms/src/fields/email․lisp file, Up: Lisp files [Contents][Index]
fields (module)
src/fields/password.lisp
Next: The cl-forms/src/fields/integer․lisp file, Previous: The cl-forms/src/fields/password․lisp file, Up: Lisp files [Contents][Index]
fields (module)
src/fields/url.lisp
Next: The cl-forms/src/fields/choice․lisp file, Previous: The cl-forms/src/fields/url․lisp file, Up: Lisp files [Contents][Index]
fields (module)
src/fields/integer.lisp
Next: The cl-forms/src/fields/date․lisp file, Previous: The cl-forms/src/fields/integer․lisp file, Up: Lisp files [Contents][Index]
fields (module)
src/fields/choice.lisp
Next: The cl-forms/src/fields/datetime․lisp file, Previous: The cl-forms/src/fields/choice․lisp file, Up: Lisp files [Contents][Index]
fields (module)
src/fields/date.lisp
format-field-value (method)
Next: The cl-forms/src/fields/file․lisp file, Previous: The cl-forms/src/fields/date․lisp file, Up: Lisp files [Contents][Index]
fields (module)
src/fields/datetime.lisp
format-field-value (method)
Next: The cl-forms/src/fields/hidden․lisp file, Previous: The cl-forms/src/fields/datetime․lisp file, Up: Lisp files [Contents][Index]
fields (module)
src/fields/file.lisp
Next: The cl-forms/src/fields/submit․lisp file, Previous: The cl-forms/src/fields/file․lisp file, Up: Lisp files [Contents][Index]
fields (module)
src/fields/hidden.lisp
Next: The cl-forms/src/fields/subform․lisp file, Previous: The cl-forms/src/fields/hidden․lisp file, Up: Lisp files [Contents][Index]
fields (module)
src/fields/submit.lisp
Next: The cl-forms/src/fields/list․lisp file, Previous: The cl-forms/src/fields/submit․lisp file, Up: Lisp files [Contents][Index]
fields (module)
src/fields/subform.lisp
Previous: The cl-forms/src/fields/subform․lisp file, Up: Lisp files [Contents][Index]
fields (module)
src/fields/list.lisp
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The cl-forms package |
package.lisp (file)
forms
common-lisp
Definitions are sorted by export status, category, package, and then by lexicographic order.
• Exported definitions | ||
• Internal definitions |
Next: Internal definitions, Previous: Definitions, Up: Definitions [Contents][Index]
• Exported special variables | ||
• Exported macros | ||
• Exported functions | ||
• Exported generic functions | ||
• Exported classes |
Next: Exported macros, Previous: Exported definitions, Up: Exported definitions [Contents][Index]
If T, encode form parameters in base64
cl-forms.lisp (file)
Next: Exported functions, Previous: Exported special variables, Up: Exported definitions [Contents][Index]
Define a form at top-level
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
Next: Exported generic functions, Previous: Exported macros, Up: Exported definitions [Contents][Index]
cl-forms.lisp (file)
Add an error on FIELD
cl-forms.lisp (file)
Fill a FORM from a MODEL
cl-forms.lisp (file)
Set a MODEL’s values from FORM field values
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
Populates FORM from parameters in HTTP request. After this, the form field contains values, but they are not validated. To validate call VALIDATE-FORM after.
cl-forms.lisp (file)
Create a field formatter. SYMBOL is the function to call.
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
Validates a form. Usually called after HANDLE-REQUEST. Returns multiple values; first value is true if the form is valid; second value a list of errors. The list of errors is an association list with elements (<field> . <field errors strings list>).
cl-forms.lisp (file)
Next: Exported classes, Previous: Exported functions, Up: Exported definitions [Contents][Index]
The field accessor to the underlying model
cl-forms.lisp (file)
The field formatter. The function takes two arguments, a VALUE and STREAM to format it into.
cl-forms.lisp (file)
Custom field value parser
cl-forms.lisp (file)
cl-forms.lisp (file)
Determines if a field is valid. This method assumes the form has already been validated via validate-form.
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
Form errors after validation. An association list with elements (<field> . <field errors strings list>).
cl-forms.lisp (file)
cl-forms.lisp (file)
datetime.lisp (file)
date.lisp (file)
boolean.lisp (file)
Previous: Exported generic functions, Up: Exported definitions [Contents][Index]
A form field
cl-forms.lisp (file)
standard-object (class)
The field name
symbol
:name
(error "provide the field name")
field-name (generic function)
(setf field-name) (generic function)
The field label
(or null string)
:label
field-label (generic function)
(setf field-label) (generic function)
Field value
:value
Value to use when the field value is nil
:default-value
field-default-value (generic function)
(setf field-default-value) (generic function)
Field placeholder (text that appears when the field is empty)
(or null string)
:placeholder
field-placeholder (generic function)
(setf field-placeholder) (generic function)
Field help text
(or null string)
:help-text
field-help-text (generic function)
(setf field-help-text) (generic function)
Custom field value parser
(or null symbol function)
:parser
field-parser (generic function)
(setf field-parser) (generic function)
The field formatter. The function takes two arguments, a VALUE and STREAM to format it into.
(or null symbol function)
:formatter
field-formatter (generic function)
(setf field-formatter) (generic function)
The field constraints
:constraints
field-constraints (generic function)
(setf field-constraints) (generic function)
Whether the field is required
boolean
:required-p
t
field-required-p (generic function)
(setf field-required-p) (generic function)
Message to display when field is required
(or null string)
:required-message
cl-forms::*field-required-message*
field-required-message (generic function)
(setf field-required-message) (generic function)
Message to display when field is invalid
(or null string function)
:invalid-message
field-invalid-message (generic function)
(setf field-invalid-message) (generic function)
Whether the field is read only
boolean
:read-only-p
field-read-only-p (generic function)
(setf field-read-only-p) (generic function)
Whether the field is disabled
boolean
:disabled-p
field-disabled-p (generic function)
(setf field-disabled-p) (generic function)
The field accessor to the underlying model
(or null symbol)
:accessor
field-accessor (generic function)
(setf field-accessor) (generic function)
The function to use to read from the underlying model
(or null symbol function)
:reader
The function to use to write to underlying model
(or null symbol function)
:writer
Trim the input
boolean
:trim-p
t
field-trim-p (generic function)
(setf field-trim-p) (generic function)
Client side validation triggers. A list of :change, :focus, :focusout, :focusin, etc
:validation-triggers
field-validation-triggers (generic function)
(setf field-validation-triggers) (generic function)
The form the field belongs to
(or null cl-forms::form)
:form
field-form (generic function)
(setf field-form) (generic function)
Previous: Exported definitions, Up: Definitions [Contents][Index]
• Internal special variables | ||
• Internal functions | ||
• Internal generic functions | ||
• Internal classes |
Next: Internal functions, Previous: Internal definitions, Up: Internal definitions [Contents][Index]
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
The current form
cl-forms.lisp (file)
cl-forms.lisp (file)
specials.lisp (file)
datetime.lisp (file)
Next: Internal generic functions, Previous: Internal special variables, Up: Internal definitions [Contents][Index]
cl-forms.lisp (file)
choice.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
Returns the actual values of a list field
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
Next: Internal classes, Previous: Internal functions, Up: Internal definitions [Contents][Index]
cl-forms.lisp (file)
When T, form client validation is enabled
cl-forms.lisp (file)
automatically generated reader method
date.lisp (file)
automatically generated writer method
date.lisp (file)
automatically generated reader method
date.lisp (file)
automatically generated writer method
date.lisp (file)
automatically generated reader method
datetime.lisp (file)
automatically generated writer method
datetime.lisp (file)
automatically generated reader method
datetime.lisp (file)
automatically generated writer method
datetime.lisp (file)
automatically generated reader method
datetime.lisp (file)
automatically generated writer method
datetime.lisp (file)
automatically generated reader method
datetime.lisp (file)
automatically generated writer method
datetime.lisp (file)
A list containing the places where to display errors. Valid options are :list and :inline
cl-forms.lisp (file)
cl-forms.lisp (file)
subform.lisp (file)
choice.lisp (file)
An alist with the choices. Or a function with which to obtain the choices.
choice.lisp (file)
choice.lisp (file)
The field constraints
cl-forms.lisp (file)
Value to use when the field value is nil
cl-forms.lisp (file)
Whether the field is disabled
cl-forms.lisp (file)
If set to true, radio buttons or checkboxes will be rendered (depending on the multiple value). If false, a select element will be rendered.
choice.lisp (file)
The form the field belongs to
cl-forms.lisp (file)
The function to use for choices key
choice.lisp (file)
Field help text
cl-forms.lisp (file)
Message to display when field is invalid
cl-forms.lisp (file)
choice.lisp (file)
Function to read the option key from the request
choice.lisp (file)
choice.lisp (file)
The field label
cl-forms.lisp (file)
If true, the user will be able to select multiple options (as opposed to choosing just one option). Depending on the value of the expanded option, this will render either a select tag or checkboxes if true and a select tag or radio buttons if false.
choice.lisp (file)
The field name
cl-forms.lisp (file)
Field placeholder (text that appears when the field is empty)
cl-forms.lisp (file)
If this option is specified, then a sub-set of all of the options will be moved to the top of the select menu.
choice.lisp (file)
cl-forms.lisp (file)
list.lisp (file)
subform.lisp (file)
submit.lisp (file)
hidden.lisp (file)
file.lisp (file)
file.lisp (file)
datetime.lisp (file)
date.lisp (file)
choice.lisp (file)
integer.lisp (file)
url.lisp (file)
password.lisp (file)
email.lisp (file)
boolean.lisp (file)
string.lisp (file)
Use the parser function after reading the value from the request
Whether the field is read only
cl-forms.lisp (file)
submit.lisp (file)
hidden.lisp (file)
cl-forms.lisp (file)
Message to display when field is required
cl-forms.lisp (file)
boolean.lisp (file)
Whether the field is required
cl-forms.lisp (file)
subform.lisp (file)
automatically generated reader method
subform.lisp (file)
automatically generated writer method
subform.lisp (file)
automatically generated reader method
subform.lisp (file)
automatically generated writer method
subform.lisp (file)
Function to test equality between choices
choice.lisp (file)
Trim the input
cl-forms.lisp (file)
Client side validation triggers. A list of :change, :focus, :focusout, :focusin, etc
cl-forms.lisp (file)
automatically generated reader method
datetime.lisp (file)
automatically generated writer method
datetime.lisp (file)
automatically generated reader method
date.lisp (file)
automatically generated writer method
date.lisp (file)
The form action
cl-forms.lisp (file)
csrf field name
cl-forms.lisp (file)
T when csrf protection is enabled
cl-forms.lisp (file)
Form encoding type. i.e. Use multipart/form-data for file uploads
cl-forms.lisp (file)
Form fields
cl-forms.lisp (file)
The form id
cl-forms.lisp (file)
The form method
cl-forms.lisp (file)
The form model object
cl-forms.lisp (file)
The form name
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
list.lisp (file)
subform.lisp (file)
submit.lisp (file)
hidden.lisp (file)
file.lisp (file)
file.lisp (file)
datetime.lisp (file)
date.lisp (file)
choice.lisp (file)
integer.lisp (file)
url.lisp (file)
password.lisp (file)
email.lisp (file)
boolean.lisp (file)
string.lisp (file)
string.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
cl-forms.lisp (file)
subform.lisp (file)
When T, use the key/s of the field as value of the field when it is read from request
choice.lisp (file)
cl-forms.lisp (file)
datetime.lisp (file)
date.lisp (file)
integer.lisp (file)
url.lisp (file)
email.lisp (file)
boolean.lisp (file)
string.lisp (file)
The validator field
cl-forms.lisp (file)
Previous: Internal generic functions, Up: Internal definitions [Contents][Index]
A boolean input
boolean.lisp (file)
form-field (class)
choice.lisp (file)
field-validator (class)
%validate (method)
Initarg | Value |
---|---|
:message | "the option is not valid" |
A multi-purpose field used to allow the user to "choose" one or more options. It can be rendered as a select tag, radio buttons, or checkboxes.
choice.lisp (file)
form-field (class)
An alist with the choices. Or a function with which to obtain the choices.
(or list symbol function)
:choices
(setf field-choices) (generic function)
If this option is specified, then a sub-set of all of the options will be moved to the top of the select menu.
:preferred-choices
field-preferred-choices (generic function)
(setf field-preferred-choices) (generic function)
If set to true, radio buttons or checkboxes will be rendered (depending on the multiple value). If false, a select element will be rendered.
:expanded
field-expanded (generic function)
(setf field-expanded) (generic function)
If true, the user will be able to select multiple options (as opposed to choosing just one option). Depending on the value of the expanded option, this will render either a select tag or checkboxes if true and a select tag or radio buttons if false.
:multiple
field-multiple (generic function)
(setf field-multiple) (generic function)
Function to read the option key from the request
:key-reader
(function identity)
field-key-reader (generic function)
(setf field-key-reader) (generic function)
The function to use for choices key
:hash-function
(function sxhash)
field-hash-function (generic function)
(setf field-hash-function) (generic function)
Function to test equality between choices
:test
(function eql)
field-test (generic function)
(setf field-test) (generic function)
When T, use the key/s of the field as value of the field when it is read from request
:use-key-as-value
use-key-as-value (generic function)
(setf use-key-as-value) (generic function)
A date input field
date.lisp (file)
form-field (class)
:date-min
date-min (generic function)
(setf date-min) (generic function)
:date-max
date-max (generic function)
(setf date-max) (generic function)
:date-format
cl-forms::+default-date-format+
date-format (generic function)
(setf date-format) (generic function)
:widget
field-widget (generic function)
(setf field-widget) (generic function)
Initarg | Value |
---|---|
:placeholder | "yyyy-mm-dd" |
A date validator. TODO: should perhaps be part of clavier validators
date.lisp (file)
validator (class)
:date-format
cl-forms::+default-date-format+
date-format (generic function)
(setf date-format) (generic function)
Initarg | Value |
---|---|
:message | (lambda (cl-forms::validator cl-forms::object) (declare (ignorable cl-forms::validator cl-forms::object)) "the date is invalid") |
A date input field
datetime.lisp (file)
form-field (class)
:min
datetime-min (generic function)
(setf datetime-min) (generic function)
:max
datetime-max (generic function)
(setf datetime-max) (generic function)
:datetime-format
cl-forms::+default-datetime-format+
datetime-format (generic function)
(setf datetime-format) (generic function)
:widget
field-widget (generic function)
(setf field-widget) (generic function)
Initarg | Value |
---|---|
:placeholder | "yyyy-mm-ddthh:mm:ss" |
A datetime validator. TODO: should perhaps be part of clavier validators
datetime.lisp (file)
validator (class)
:datetime-format
cl-forms::+default-datetime-format+
datetime-format (generic function)
(setf datetime-format) (generic function)
Initarg | Value |
---|---|
:message | (lambda (cl-forms::validator cl-forms::object) (declare (ignorable cl-forms::validator cl-forms::object)) "the datetime is invalid") |
default.lisp (file)
form-theme (class)
A string input field
email.lisp (file)
form-field (class)
Generic field validator. Needs a field to be initialized
cl-forms.lisp (file)
validator (class)
choice-field-validator (class)
The validator field
:field
(error "provide the field")
validator-field (generic function)
(setf validator-field) (generic function)
A file input field
file.lisp (file)
form-field (class)
stateful-file-field (class)
If this fields handles multiple file uploads
:multiple-p
multiple-p (generic function)
(setf multiple-p) (generic function)
:path
file-path (generic function)
(setf file-path) (generic function)
:file-name
file-name (generic function)
(setf file-name) (generic function)
:content-type
file-content-type (generic function)
(setf file-content-type) (generic function)
Function that handles the file upload
:upload-handler
upload-handler (generic function)
(setf upload-handler) (generic function)
Files accepted. See https://www.w3schools.com/tags/att_input_accept.asp
(or null string)
:accept
file-accept (generic function)
(setf file-accept) (generic function)
A form
cl-forms.lisp (file)
standard-object (class)
The form id
string
:id
(string (gensym))
form-id (generic function)
(setf form-id) (generic function)
The form name
symbol
:name
(error "provide a name for the form")
form-name (generic function)
(setf form-name) (generic function)
The form action
(or null string)
:action
form-action (generic function)
(setf form-action) (generic function)
The form method
(member :get :post)
:method
:post
form-method (generic function)
(setf form-method) (generic function)
Form encoding type. i.e. Use multipart/form-data for file uploads
(or null string)
:enctype
form-enctype (generic function)
(setf form-enctype) (generic function)
Form fields
:fields
form-fields (generic function)
(setf form-fields) (generic function)
The form model object
:model
form-model (generic function)
(setf form-model) (generic function)
T when csrf protection is enabled
boolean
:csrf-protection
form-csrf-protection-p (generic function)
(setf form-csrf-protection-p) (generic function)
csrf field name
(or null string)
:csrf-field-name
"_token"
form-csrf-field-name (generic function)
(setf form-csrf-field-name) (generic function)
Form errors after validation. An association list with elements (<field> . <field errors strings list>).
list
form-errors (generic function)
(setf form-errors) (generic function)
A list containing the places where to display errors. Valid options are :list and :inline
list
:display-errors
(list :list :inline)
display-errors (generic function)
(setf display-errors) (generic function)
When T, form client validation is enabled
boolean
:client-validation
t
client-validation (generic function)
(setf client-validation) (generic function)
theme.lisp (file)
standard-object (class)
default-form-theme (class)
A hidden form field
hidden.lisp (file)
form-field (class)
An integer input field
integer.lisp (file)
form-field (class)
A field that contains a list of elements (either other fields or subforms)
list.lisp (file)
form-field (class)
The list elements type.
function
:type
(error "provide the list type via :type")
list-field-type (generic function)
(setf list-field-type) (generic function)
A predicate that tells when a list item is considered empty, and so it is removed from the list
(or null function)
:empty-item-predicate
empty-item-predicate (generic function)
(setf empty-item-predicate) (generic function)
Whether have a list ’ADD’ button or not
boolean
:add-button
t
add-button-p (generic function)
(setf add-button-p) (generic function)
Whether add an item removal button or not
boolean
:remove-button
t
remove-button-p (generic function)
(setf remove-button-p) (generic function)
A password input field
password.lisp (file)
form-field (class)
field-read-from-request (method)
An stateful file field is a file field that mantains its value (the uploaded file data) and renders the the uploaded file download link and a file upload widget
file.lisp (file)
file-form-field (class)
Function to generate the download link to the file
(or null string symbol function)
:download-link
A string input field
string.lisp (file)
form-field (class)
text-form-field (class)
A field that contains a form (subform)
subform.lisp (file)
form-field (class)
(or null function)
:subform-builder
field-subform-builder (generic function)
(setf field-subform-builder) (generic function)
(or null symbol)
:subform
field-subform-name (generic function)
(setf field-subform-name) (generic function)
A submit input button
submit.lisp (file)
form-field (class)
Initarg | Value |
---|---|
:required-p | nil |
A text field. Renders as a text area
string.lisp (file)
string-form-field (class)
An url input field
url.lisp (file)
form-field (class)
Previous: Definitions, Up: Top [Contents][Index]
• Concept index | ||
• Function index | ||
• Variable index | ||
• Data type index |
Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
Jump to: | C F L M |
---|
Jump to: | C F L M |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
Jump to: | %
(
A C D E F G H L M P R S U V W |
---|
Jump to: | %
(
A C D E F G H L M P R S U V W |
---|
Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
Jump to: | *
+
A C D E F H I K L M N P R S T U V W |
---|
Jump to: | *
+
A C D E F H I K L M N P R S T U V W |
---|
Previous: Variable index, Up: Indexes [Contents][Index]
Jump to: | B C D E F H I L P S T U |
---|
Jump to: | B C D E F H I L P S T U |
---|