The cl-forms Reference Manual

This is the cl-forms Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 04:54:38 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 cl-forms

A web forms handling library

Author

Mariano Montone <>

Home Page

https://github.com/mmontone/cl-forms

License

MIT

Long Description

# CL-FORMS #

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:

* Several form field types: String, boolean, integer, email, password fields. And more.
* Custom fields. CL-FORMS is extensible and it is possible to define new field types.
* Server and client side validation
* Rendering backends. Forms can be rendered via CL-WHO, or Djula, or something else; the backend is pluggable. The default renderer is CL-WHO. * Themes (like Bootstrap)
* Control on rendering and layout.
* Handling of form errors.
* CSRF protection

## Basics ##

Use ‘defform‘ to define a form. Example:

“‘lisp
(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 ‘find-form‘, select a renderer with ‘with-form-renderer‘and then render the form with ‘render-form‘:

“‘lisp
(let ((form (forms::find-form ’fields-form)))
(forms:with-form-renderer :who
(forms:render-form form))
“‘

To handle the form, grab it via ‘find-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.

“‘lisp
(let ((form (forms:find-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

## DEMO ##

There’s a demo included. To run:

“‘lisp
(require :cl-forms.demo)
(forms.test:run-demo)
“‘

Dependencies
  • alexandria (system).
  • cl-ppcre (system).
  • hunchentoot (system).
  • ironclad (system).
  • uuid (system).
  • clavier (system).
  • fmt (system).
  • str (system).
Source

cl-forms.asd.

Child Component

src (module).


3 Modules

Modules are listed depth-first from the system components tree.


3.1 cl-forms/src

Source

cl-forms.asd.

Parent Component

cl-forms (system).

Child Components

3.2 cl-forms/src/themes

Dependency

request.lisp (file).

Source

cl-forms.asd.

Parent Component

src (module).

Child Components

3.3 cl-forms/src/fields

Dependency

cl-forms.lisp (file).

Source

cl-forms.asd.

Parent Component

src (module).

Child Components

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


4.1 Lisp


4.1.1 cl-forms/cl-forms.asd

Source

cl-forms.asd.

Parent Component

cl-forms (system).

ASDF Systems

cl-forms.


4.1.2 cl-forms/src/package.lisp

Source

cl-forms.asd.

Parent Component

src (module).

Packages

cl-forms.


4.1.3 cl-forms/src/request.lisp

Dependency

package.lisp (file).

Source

cl-forms.asd.

Parent Component

src (module).

Internals

request-post-parameters (generic function).


4.1.4 cl-forms/src/themes/theme.lisp

Source

cl-forms.asd.

Parent Component

themes (module).

Internals

form-theme (class).


4.1.5 cl-forms/src/themes/default.lisp

Dependency

theme.lisp (file).

Source

cl-forms.asd.

Parent Component

themes (module).

Internals

default-form-theme (class).


4.1.6 cl-forms/src/themes/specials.lisp

Dependency

default.lisp (file).

Source

cl-forms.asd.

Parent Component

themes (module).

Internals

*form-theme* (special variable).


4.1.7 cl-forms/src/cl-forms.lisp

Dependency

themes (module).

Source

cl-forms.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.8 cl-forms/src/fields/string.lisp

Source

cl-forms.asd.

Parent Component

fields (module).

Public Interface
Internals

4.1.9 cl-forms/src/fields/boolean.lisp

Source

cl-forms.asd.

Parent Component

fields (module).

Public Interface
Internals

4.1.10 cl-forms/src/fields/email.lisp

Source

cl-forms.asd.

Parent Component

fields (module).

Public Interface

email-form-field (class).

Internals

4.1.11 cl-forms/src/fields/password.lisp

Source

cl-forms.asd.

Parent Component

fields (module).

Public Interface

password-form-field (class).

Internals

4.1.12 cl-forms/src/fields/url.lisp

Source

cl-forms.asd.

Parent Component

fields (module).

Public Interface

url-form-field (class).

Internals

4.1.13 cl-forms/src/fields/integer.lisp

Source

cl-forms.asd.

Parent Component

fields (module).

Public Interface

integer-form-field (class).

Internals

4.1.14 cl-forms/src/fields/choice.lisp

Source

cl-forms.asd.

Parent Component

fields (module).

Public Interface
Internals

4.1.15 cl-forms/src/fields/date.lisp

Source

cl-forms.asd.

Parent Component

fields (module).

Public Interface
Internals

4.1.16 cl-forms/src/fields/datetime.lisp

Source

cl-forms.asd.

Parent Component

fields (module).

Public Interface
Internals

4.1.17 cl-forms/src/fields/file.lisp

Source

cl-forms.asd.

Parent Component

fields (module).

Public Interface

file-form-field (class).

Internals

4.1.18 cl-forms/src/fields/hidden.lisp

Source

cl-forms.asd.

Parent Component

fields (module).

Public Interface

hidden-form-field (class).

Internals

4.1.19 cl-forms/src/fields/submit.lisp

Source

cl-forms.asd.

Parent Component

fields (module).

Public Interface

submit-form-field (class).

Internals

4.1.20 cl-forms/src/fields/subform.lisp

Source

cl-forms.asd.

Parent Component

fields (module).

Public Interface

subform-form-field (class).

Internals

4.1.21 cl-forms/src/fields/list.lisp

Source

cl-forms.asd.

Parent Component

fields (module).

Public Interface

list-form-field (class).

Internals

5 Packages

Packages are listed by definition order.


5.1 cl-forms

Source

package.lisp.

Nickname

forms

Use List

common-lisp.

Public Interface
Internals

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


6.1 Public Interface


6.1.1 Special variables

Special Variable: *base64-encode*

Whether to encode form parameters in base64 or not.

Package

cl-forms.

Source

cl-forms.lisp.


6.1.2 Macros

Macro: defform (form-name args fields)

Define a form at top-level.

ARGS are the arguments passed to FORM class via MAKE-INSTANCE. FIELDS are the form field specs.

@lisp
(forms:defform client-validated-form (:action "/client-validation-post" :client-validation t) ((name :string :value "" :constraints (list (clavier:is-a-string) (clavier:not-blank) (clavier:len :max 5)) :validation-triggers ’(:focusin))
(single :boolean :value t)
(sex :choice :choices (list "Male" "Female") :value "Male")
(age :integer :constraints (list (clavier:is-an-integer) (clavier:greater-than -1) (clavier:less-than 200))) (email :email)
(submit :submit :label "Create")))
@end lisp

Package

cl-forms.

Source

cl-forms.lisp.

Macro: defform-builder (form-name args &body body)

Registers a function with arguments ARGS and body BODY as a form builder.

BODY is expected to instantiate a FORM object using ARGS in some way.

FORM-NAME is the symbol under which the FORM is registered.

Use FIND-FORM with FORM-NAME and expected arguments to obtain the registered form.

Package

cl-forms.

Source

cl-forms.lisp.

Macro: with-form (form &body body)

Bind *FORM* to FORM and evaluate BODY in that context.

Package

cl-forms.

Source

cl-forms.lisp.

Macro: with-form-field-values (fields form &body body)

Bind the value of FIELDS in FORM.

Example:

@lisp
(with-form-field-values (name) form (print name))
@end lisp

Package

cl-forms.

Source

cl-forms.lisp.

Macro: with-form-fields (fields form &body body)

Bind FIELDS to the form fields in FORM.

Example:

@lisp
(with-form-fields (name) form (print (field-value name)))
@end lisp

Also see: WITH-FORM-FIELD-VALUES

Package

cl-forms.

Source

cl-forms.lisp.

Macro: with-form-renderer (renderer &body body)

Bind *FORM-RENDERER* to RENDERER and evaluate BODY in that context.

Package

cl-forms.

Source

cl-forms.lisp.

Macro: with-form-template ((&optional form-var) form-name args &body body)

Define a FORM named FORM-NAME and render it at the same time.

Package

cl-forms.

Source

cl-forms.lisp.

Macro: with-form-theme (form-theme &body body)

Bind *FORM-THEME* to FORM-THEME and evaluate BODY in that context.

Package

cl-forms.

Source

cl-forms.lisp.


6.1.3 Ordinary functions

Function: add-field (form field)
Package

cl-forms.

Source

cl-forms.lisp.

Function: add-form-error (field error-msg &optional form)

Add an error on FIELD

Package

cl-forms.

Source

cl-forms.lisp.

Function: fill-form-from-model (form model)

Fill a FORM from a MODEL.
Read MODEL using FORM accessors and set the FORM field values.

Package

cl-forms.

Source

cl-forms.lisp.

Function: fill-model-from-form (form model)

Set a MODEL’s values from FORM field values.

Package

cl-forms.

Source

cl-forms.lisp.

Function: find-form (name &rest args)

Get the form named NAME.

ARGS is the list of arguments to pass to a possible form builder function.

See: DEFFORM-BUILDER macro.

Package

cl-forms.

Source

cl-forms.lisp.

Function: form-valid-p (form)
Package

cl-forms.

Source

cl-forms.lisp.

Function: format-field-value-to-string (form-field &optional field-value)
Package

cl-forms.

Source

cl-forms.lisp.

Function: get-field (form field-name &optional error-p)
Package

cl-forms.

Source

cl-forms.lisp.

Function: get-field-value (form field-name &optional error-p)
Package

cl-forms.

Source

cl-forms.lisp.

Function: get-form (&rest args)
Package

cl-forms.

Source

cl-forms.lisp.

Function: handle-request (&optional form request)

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.

Package

cl-forms.

Source

cl-forms.lisp.

Function: make-formatter (symbol)

Create a field formatter. SYMBOL is the function to call.

Package

cl-forms.

Source

cl-forms.lisp.

Function: remove-field (form field)
Package

cl-forms.

Source

cl-forms.lisp.

Function: render-field (field &optional form &rest args)

Render form FIELD, both label and widget.

Package

cl-forms.

Source

cl-forms.lisp.

Function: render-field-errors (field &optional form &rest args)

Render the validation errors associated with FIELD.

Package

cl-forms.

Source

cl-forms.lisp.

Function: render-field-label (field &optional form &rest args)

Render the label of FIELD.

Package

cl-forms.

Source

cl-forms.lisp.

Function: render-field-widget (field &optional form &rest args)

Render FIELD widget.

Package

cl-forms.

Source

cl-forms.lisp.

Function: render-form (&optional form &rest args)

Top level function to render the web form FORM. *FORM-RENDERER* and *FORM-THEME* need to be bound. See: WITH-FORM-RENDERER, WITH-FORM-THEME

Package

cl-forms.

Source

cl-forms.lisp.

Function: render-form-end (&optional form)

Render the end of the web form FORM.

Package

cl-forms.

Source

cl-forms.lisp.

Function: render-form-errors (&optional form &rest args)

Render a section for displaying form validation errors.

Package

cl-forms.

Source

cl-forms.lisp.

Function: render-form-start (&optional form &rest args)

Render only the beggining of the web form FORM.
Use RENDER-FIELD, RENDER-FIELD-LABEL, etc manually, after.

Package

cl-forms.

Source

cl-forms.lisp.

Function: set-field-value (form field-name value)
Package

cl-forms.

Source

cl-forms.lisp.

Function: validate-form (&optional form)

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>).

Package

cl-forms.

Source

cl-forms.lisp.


6.1.4 Generic functions

Generic Reader: field-accessor (object)
Generic Writer: (setf field-accessor) (object)
Package

cl-forms.

Methods
Reader Method: field-accessor ((form-field form-field))
Writer Method: (setf field-accessor) ((form-field form-field))

The field accessor to the underlying model

Source

cl-forms.lisp.

Target Slot

accessor.

Generic Reader: field-formatter (object)
Generic Writer: (setf field-formatter) (object)
Package

cl-forms.

Methods
Reader Method: field-formatter ((form-field form-field))
Writer Method: (setf field-formatter) ((form-field form-field))

The field formatter. The function takes two arguments, a VALUE and STREAM to format it into.

Source

cl-forms.lisp.

Target Slot

formatter.

Generic Function: field-label (field)
Package

cl-forms.

Methods
Method: field-label ((field form-field))
Source

cl-forms.lisp.

Generic Reader: field-parser (object)
Generic Writer: (setf field-parser) (object)
Package

cl-forms.

Methods
Reader Method: field-parser ((form-field form-field))
Writer Method: (setf field-parser) ((form-field form-field))

Custom field value parser

Source

cl-forms.lisp.

Target Slot

parser.

Generic Function: field-reader (field)
Package

cl-forms.

Methods
Method: field-reader ((field form-field))
Source

cl-forms.lisp.

Generic Function: field-valid-p (form-field &optional form)
Package

cl-forms.

Methods
Method: field-valid-p ((form-field form-field) &optional form)

Determines if a field is valid. This method assumes the form has already been validated via validate-form.

Source

cl-forms.lisp.

Generic Function: field-value (field)
Package

cl-forms.

Methods
Method: field-value :around ((field form-field))
Source

cl-forms.lisp.

Method: field-value ((field form-field))
Source

cl-forms.lisp.

Generic Function: (setf field-value) (field)
Package

cl-forms.

Methods
Method: (setf field-value) ((field form-field))
Source

cl-forms.lisp.

Generic Function: field-writer (field)
Package

cl-forms.

Methods
Method: field-writer ((field form-field))
Source

cl-forms.lisp.

Generic Reader: form-errors (object)
Generic Writer: (setf form-errors) (object)
Package

cl-forms.

Methods
Reader Method: form-errors ((form form))
Writer Method: (setf form-errors) ((form form))

Form errors after validation. An association list with elements (<field> . <field errors strings list>).

Source

cl-forms.lisp.

Target Slot

errors.

Generic Reader: form-fields (object)
Generic Writer: (setf form-fields) (object)
Package

cl-forms.

Methods
Reader Method: form-fields ((form form))
Writer Method: (setf form-fields) ((form form))

Form fields

Source

cl-forms.lisp.

Target Slot

fields.

Generic Function: format-field-value (form-field field-value &optional stream)
Package

cl-forms.

Source

cl-forms.lisp.

Methods
Method: format-field-value ((field datetime-form-field) value &optional stream)
Source

datetime.lisp.

Method: format-field-value ((field date-form-field) value &optional stream)
Source

date.lisp.

Method: format-field-value ((field boolean-form-field) value &optional stream)
Source

boolean.lisp.

Method: format-field-value ((form-field form-field) field-value &optional stream)
Method: format-field-value :around ((form-field form-field) field-value &optional stream)

6.1.5 Standalone methods

Method: initialize-instance :after ((form form) &rest initargs)
Source

cl-forms.lisp.

Method: initialize-instance :after ((field choice-form-field) &rest initargs)
Source

choice.lisp.

Method: print-object ((field form-field) stream)
Source

cl-forms.lisp.

Method: print-object ((form form) stream)
Source

cl-forms.lisp.


6.1.6 Classes

Class: boolean-form-field

A boolean input

Package

cl-forms.

Source

boolean.lisp.

Direct superclasses

form-field.

Direct methods
Class: choice-form-field

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. NOTE: the defaults of this field type are too complicated for just working with string choices. STRING-CHOICE-FIELD is more convenient for that.

Package

cl-forms.

Source

choice.lisp.

Direct superclasses

form-field.

Direct subclasses

string-choice-form-field.

Direct methods
Direct slots
Slot: choices

An alist with the choices. Or a function with which to obtain the choices.

Type

(or list symbol function)

Initargs

:choices

Writers

(setf field-choices).

Slot: preferred-choices

If this option is specified, then a sub-set of all of the options will be moved to the top of the select menu.

Initargs

:preferred-choices

Readers

field-preferred-choices.

Writers

(setf field-preferred-choices).

Slot: expanded

If set to true, radio buttons or checkboxes will be rendered (depending on the multiple value). If false, a select element will be rendered.

Initargs

:expanded

Readers

field-expanded.

Writers

(setf field-expanded).

Slot: multiple

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.

Initargs

:multiple

Readers

field-multiple.

Writers

(setf field-multiple).

Slot: key-reader

Function to read the option key from the request

Initform

(function identity)

Initargs

:key-reader

Readers

field-key-reader.

Writers

(setf field-key-reader).

Slot: hash-function

The function to use for choices key

Initform

(function sxhash)

Initargs

:hash-function

Readers

field-hash-function.

Writers

(setf field-hash-function).

Slot: test

Function to test equality between choices

Initform

(function eql)

Initargs

:test

Readers

field-test.

Writers

(setf field-test).

Slot: use-key-as-value

When T, use the key/s of the field as value of the field when it is read from request

Initargs

:use-key-as-value

Readers

use-key-as-value.

Writers

(setf use-key-as-value).

Class: date-form-field

A date input field

Package

cl-forms.

Source

date.lisp.

Direct superclasses

form-field.

Direct methods
Direct Default Initargs
InitargValue
:placeholderyyyy-mm-dd
Direct slots
Slot: date-min
Initargs

:date-min

Readers

date-min.

Writers

(setf date-min).

Slot: date-max
Initargs

:date-max

Readers

date-max.

Writers

(setf date-max).

Slot: date-format
Initform

cl-forms::+default-date-format+

Initargs

:date-format

Readers

date-format.

Writers

(setf date-format).

Slot: widget
Initargs

:widget

Readers

field-widget.

Writers

(setf field-widget).

Class: datetime-form-field

A date input field

Package

cl-forms.

Source

datetime.lisp.

Direct superclasses

form-field.

Direct methods
Direct Default Initargs
InitargValue
:placeholderyyyy-mm-ddthh:mm:ss
Direct slots
Slot: datetime-min
Initargs

:min

Readers

datetime-min.

Writers

(setf datetime-min).

Slot: datetime-max
Initargs

:max

Readers

datetime-max.

Writers

(setf datetime-max).

Slot: datetime-format
Initform

cl-forms::+default-datetime-format+

Initargs

:datetime-format

Readers

datetime-format.

Writers

(setf datetime-format).

Slot: widget
Initargs

:widget

Readers

field-widget.

Writers

(setf field-widget).

Class: email-form-field

A string input field

Package

cl-forms.

Source

email.lisp.

Direct superclasses

form-field.

Direct methods
Class: file-form-field

A file input field

Package

cl-forms.

Source

file.lisp.

Direct superclasses

form-field.

Direct subclasses

stateful-file-field.

Direct methods
Direct slots
Slot: multiple

If this fields handles multiple file uploads

Initargs

:multiple-p

Readers

multiple-p.

Writers

(setf multiple-p).

Slot: path
Initargs

:path

Readers

file-path.

Writers

(setf file-path).

Slot: file-name
Initargs

:file-name

Readers

file-name.

Writers

(setf file-name).

Slot: content-type
Initargs

:content-type

Readers

file-content-type.

Writers

(setf file-content-type).

Slot: upload-handler

Function that handles the file upload

Initargs

:upload-handler

Readers

upload-handler.

Writers

(setf upload-handler).

Slot: accept

Files accepted. See https://www.w3schools.com/tags/att_input_accept.asp

Type

(or null string)

Initargs

:accept

Readers

file-accept.

Writers

(setf file-accept).

Class: form

A form

Package

cl-forms.

Source

cl-forms.lisp.

Direct methods
Direct slots
Slot: id

The form id

Type

string

Initform

(string (gensym))

Initargs

:id

Readers

form-id.

Writers

(setf form-id).

Slot: name

The form name

Type

symbol

Initform

(error "provide a name for the form")

Initargs

:name

Readers

form-name.

Writers

(setf form-name).

Slot: action

The form action

Type

(or null string)

Initargs

:action

Readers

form-action.

Writers

(setf form-action).

Slot: method

The form method

Package

common-lisp.

Type

(member :get :post)

Initform

:post

Initargs

:method

Readers

form-method.

Writers

(setf form-method).

Slot: enctype

Form encoding type. i.e. Use multipart/form-data for file uploads

Type

(or null string)

Initargs

:enctype

Readers

form-enctype.

Writers

(setf form-enctype).

Slot: fields

Form fields

Initargs

:fields

Readers

form-fields.

Writers

(setf form-fields).

Slot: model

The form model object

Initargs

:model

Readers

form-model.

Writers

(setf form-model).

Slot: csrf-protection

T when csrf protection is enabled

Type

boolean

Initargs

:csrf-protection

Readers

form-csrf-protection-p.

Writers

(setf form-csrf-protection-p).

Slot: csrf-field-name

csrf field name

Type

(or null string)

Initform

"_token"

Initargs

:csrf-field-name

Readers

form-csrf-field-name.

Writers

(setf form-csrf-field-name).

Slot: errors

Form errors after validation. An association list with elements (<field> . <field errors strings list>).

Type

list

Readers

form-errors.

Writers

(setf form-errors).

Slot: display-errors

A list containing the places where to display errors. Valid options are :list and :inline

Type

list

Initform

(list :list :inline)

Initargs

:display-errors

Readers

display-errors.

Writers

(setf display-errors).

Slot: client-validation

When T, form client validation is enabled

Type

boolean

Initargs

:client-validation

Readers

client-validation.

Writers

(setf client-validation).

Class: form-field

A form field

Package

cl-forms.

Source

cl-forms.lisp.

Direct subclasses
Direct methods
Direct slots
Slot: name

The field name

Type

symbol

Initform

(error "provide the field name")

Initargs

:name

Readers

field-name.

Writers

(setf field-name).

Slot: label

The field label

Type

(or null string)

Initargs

:label

Slot: value

Field value

Initargs

:value

Slot: default-value

Value to use when the field value is nil

Initargs

:default-value

Readers

field-default-value.

Writers

(setf field-default-value).

Slot: placeholder

Field placeholder (text that appears when the field is empty)

Type

(or null string)

Initargs

:placeholder

Readers

field-placeholder.

Writers

(setf field-placeholder).

Slot: help-text

Field help text

Type

(or null string)

Initargs

:help-text

Readers

field-help-text.

Writers

(setf field-help-text).

Slot: parser

Custom field value parser

Type

(or null symbol function)

Initargs

:parser

Readers

field-parser.

Writers

(setf field-parser).

Slot: formatter

The field formatter. The function takes two arguments, a VALUE and STREAM to format it into.

Package

common-lisp.

Type

(or null symbol function)

Initargs

:formatter

Readers

field-formatter.

Writers

(setf field-formatter).

Slot: constraints

A list of CLAVIER validators.

Initargs

:constraints

Readers

field-constraints.

Writers

(setf field-constraints).

Slot: required

Whether the field is required

Type

boolean

Initform

t

Initargs

:required-p

Readers

field-required-p.

Writers

(setf field-required-p).

Slot: required-message

Message to display when field is required

Type

(or null string)

Initform

cl-forms::*field-required-message*

Initargs

:required-message

Readers

field-required-message.

Writers

(setf field-required-message).

Slot: invalid-message

Message to display when field is invalid

Type

(or null string function)

Initargs

:invalid-message

Readers

field-invalid-message.

Writers

(setf field-invalid-message).

Slot: read-only

Whether the field is read only

Type

boolean

Initargs

:read-only-p

Readers

field-read-only-p.

Writers

(setf field-read-only-p).

Slot: disabled

Whether the field is disabled

Type

boolean

Initargs

:disabled-p

Readers

field-disabled-p.

Writers

(setf field-disabled-p).

Slot: accessor

The field accessor to the underlying model

Type

(or null symbol)

Initargs

:accessor

Readers

field-accessor.

Writers

(setf field-accessor).

Slot: reader

The function to use to read from the underlying model

Type

(or null symbol function)

Initargs

:reader

Slot: writer

The function to use to write to underlying model

Type

(or null symbol function)

Initargs

:writer

Slot: trim

Trim the input

Type

boolean

Initform

t

Initargs

:trim-p

Readers

field-trim-p.

Writers

(setf field-trim-p).

Slot: validation-triggers

Client side validation triggers. A list of :change, :focus, :focusout, :focusin, etc

Initargs

:validation-triggers

Readers

field-validation-triggers.

Writers

(setf field-validation-triggers).

Slot: form

The form the field belongs to

Type

(or null cl-forms:form)

Initargs

:form

Readers

field-form.

Writers

(setf field-form).

Class: hidden-form-field

A hidden form field

Package

cl-forms.

Source

hidden.lisp.

Direct superclasses

form-field.

Direct methods
Class: integer-form-field

An integer input field

Package

cl-forms.

Source

integer.lisp.

Direct superclasses

form-field.

Direct methods
Class: list-form-field

A field that contains a list of elements (either other fields or subforms)

Package

cl-forms.

Source

list.lisp.

Direct superclasses

form-field.

Direct methods
Direct slots
Slot: type

The list elements type.

Package

common-lisp.

Type

function

Initform

(error "provide the list type via :type")

Initargs

:type

Readers

list-field-type.

Writers

(setf list-field-type).

Slot: empty-item-predicate

A predicate that tells when a list item is considered empty, and so it is removed from the list

Type

(or null function)

Initargs

:empty-item-predicate

Readers

empty-item-predicate.

Writers

(setf empty-item-predicate).

Slot: add-button

Whether have a list ’ADD’ button or not

Type

boolean

Initform

t

Initargs

:add-button

Readers

add-button-p.

Writers

(setf add-button-p).

Slot: remove-button

Whether add an item removal button or not

Type

boolean

Initform

t

Initargs

:remove-button

Readers

remove-button-p.

Writers

(setf remove-button-p).

Class: password-form-field

A password input field

Package

cl-forms.

Source

password.lisp.

Direct superclasses

form-field.

Direct methods

field-read-from-request.

Class: string-form-field

A string input field

Package

cl-forms.

Source

string.lisp.

Direct superclasses

form-field.

Direct subclasses

text-form-field.

Direct methods
Class: subform-form-field

A field that contains a form (subform)

Package

cl-forms.

Source

subform.lisp.

Direct superclasses

form-field.

Direct methods
Direct slots
Slot: subform-builder
Type

(or null function)

Initargs

:subform-builder

Readers

field-subform-builder.

Writers

(setf field-subform-builder).

Slot: subform
Type

(or null symbol)

Initargs

:subform

Readers

field-subform-name.

Writers

(setf field-subform-name).

Class: submit-form-field

A submit input button

Package

cl-forms.

Source

submit.lisp.

Direct superclasses

form-field.

Direct methods
Direct Default Initargs
InitargValue
:required-pnil
Class: text-form-field

A text field. Renders as a text area

Package

cl-forms.

Source

string.lisp.

Direct superclasses

string-form-field.

Class: url-form-field

An url input field

Package

cl-forms.

Source

url.lisp.

Direct superclasses

form-field.

Direct methods

6.2 Internals


6.2.1 Special variables

Special Variable: *default-form-renderer*

The default form renderer. The default renderer is CL-WHO.

Package

cl-forms.

Source

cl-forms.lisp.

Special Variable: *field-path*
Package

cl-forms.

Source

cl-forms.lisp.

Special Variable: *field-required-message*

The default message to displayed when a field is required.

Package

cl-forms.

Source

cl-forms.lisp.

Special Variable: *form*

The current form.

Package

cl-forms.

Source

cl-forms.lisp.

Special Variable: *form-renderer*

The current form renderer. Bind using WITH-FORM-RENDERER.

Package

cl-forms.

Source

cl-forms.lisp.

Special Variable: *form-theme*

The theme with which to render forms. Default is DEFAULT-FORM-THEME .

Package

cl-forms.

Source

specials.lisp.

Special Variable: +default-date-format+
Package

cl-forms.

Source

date.lisp.

Special Variable: +default-datetime-format+
Package

cl-forms.

Source

datetime.lisp.


6.2.2 Ordinary functions

Function: %collect-replace-fields (form collect-field)
Package

cl-forms.

Source

cl-forms.lisp.

Function: alistp (alist)
Package

cl-forms.

Source

choice.lisp.

Function: call-with-form (form function)
Package

cl-forms.

Source

cl-forms.lisp.

Function: call-with-form-theme (form-theme function)
Package

cl-forms.

Source

cl-forms.lisp.

Function: check-duplicate-fields (fields)
Package

cl-forms.

Source

cl-forms.lisp.

Function: collect-replace-fields (form)
Package

cl-forms.

Source

cl-forms.lisp.

Function: empty-value-p (val)
Package

cl-forms.

Source

cl-forms.lisp.

Function: field-request-name (form-field form)
Package

cl-forms.

Source

cl-forms.lisp.

Function: list-field-values (list-field)

Returns the actual values of a list field

Package

cl-forms.

Source

list.lisp.

Function: make-form (name fields &rest options)
Package

cl-forms.

Source

cl-forms.lisp.

Function: make-form-fields (fields)
Package

cl-forms.

Source

cl-forms.lisp.

Function: post-parameters (&optional request)
Package

cl-forms.

Source

cl-forms.lisp.

Function: render-field-request-name (form-field form)
Package

cl-forms.

Source

cl-forms.lisp.


6.2.3 Generic functions

Generic Reader: add-button-p (object)
Generic Writer: (setf add-button-p) (object)
Package

cl-forms.

Methods
Reader Method: add-button-p ((list-form-field list-form-field))
Writer Method: (setf add-button-p) ((list-form-field list-form-field))

Whether have a list ’ADD’ button or not

Source

list.lisp.

Target Slot

add-button.

Generic Function: call-with-form-renderer (renderer function)
Package

cl-forms.

Methods
Method: call-with-form-renderer (renderer function)
Source

cl-forms.lisp.

Generic Reader: client-validation (object)
Generic Writer: (setf client-validation) (object)
Package

cl-forms.

Methods
Reader Method: client-validation ((form form))
Writer Method: (setf client-validation) ((form form))

When T, form client validation is enabled

Source

cl-forms.lisp.

Target Slot

client-validation.

Generic Reader: date-format (object)
Package

cl-forms.

Methods
Reader Method: date-format ((date-validator date-validator))

automatically generated reader method

Source

date.lisp.

Target Slot

date-format.

Reader Method: date-format ((date-form-field date-form-field))

automatically generated reader method

Source

date.lisp.

Target Slot

date-format.

Generic Writer: (setf date-format) (object)
Package

cl-forms.

Methods
Writer Method: (setf date-format) ((date-validator date-validator))

automatically generated writer method

Source

date.lisp.

Target Slot

date-format.

Writer Method: (setf date-format) ((date-form-field date-form-field))

automatically generated writer method

Source

date.lisp.

Target Slot

date-format.

Generic Reader: date-max (object)
Package

cl-forms.

Methods
Reader Method: date-max ((date-form-field date-form-field))

automatically generated reader method

Source

date.lisp.

Target Slot

date-max.

Generic Writer: (setf date-max) (object)
Package

cl-forms.

Methods
Writer Method: (setf date-max) ((date-form-field date-form-field))

automatically generated writer method

Source

date.lisp.

Target Slot

date-max.

Generic Reader: date-min (object)
Package

cl-forms.

Methods
Reader Method: date-min ((date-form-field date-form-field))

automatically generated reader method

Source

date.lisp.

Target Slot

date-min.

Generic Writer: (setf date-min) (object)
Package

cl-forms.

Methods
Writer Method: (setf date-min) ((date-form-field date-form-field))

automatically generated writer method

Source

date.lisp.

Target Slot

date-min.

Generic Reader: datetime-format (object)
Package

cl-forms.

Methods
Reader Method: datetime-format ((datetime-validator datetime-validator))

automatically generated reader method

Source

datetime.lisp.

Target Slot

datetime-format.

Reader Method: datetime-format ((datetime-form-field datetime-form-field))

automatically generated reader method

Source

datetime.lisp.

Target Slot

datetime-format.

Generic Writer: (setf datetime-format) (object)
Package

cl-forms.

Methods
Writer Method: (setf datetime-format) ((datetime-validator datetime-validator))

automatically generated writer method

Source

datetime.lisp.

Target Slot

datetime-format.

Writer Method: (setf datetime-format) ((datetime-form-field datetime-form-field))

automatically generated writer method

Source

datetime.lisp.

Target Slot

datetime-format.

Generic Reader: datetime-max (object)
Package

cl-forms.

Methods
Reader Method: datetime-max ((datetime-form-field datetime-form-field))

automatically generated reader method

Source

datetime.lisp.

Target Slot

datetime-max.

Generic Writer: (setf datetime-max) (object)
Package

cl-forms.

Methods
Writer Method: (setf datetime-max) ((datetime-form-field datetime-form-field))

automatically generated writer method

Source

datetime.lisp.

Target Slot

datetime-max.

Generic Reader: datetime-min (object)
Package

cl-forms.

Methods
Reader Method: datetime-min ((datetime-form-field datetime-form-field))

automatically generated reader method

Source

datetime.lisp.

Target Slot

datetime-min.

Generic Writer: (setf datetime-min) (object)
Package

cl-forms.

Methods
Writer Method: (setf datetime-min) ((datetime-form-field datetime-form-field))

automatically generated writer method

Source

datetime.lisp.

Target Slot

datetime-min.

Generic Reader: display-errors (object)
Generic Writer: (setf display-errors) (object)
Package

cl-forms.

Methods
Reader Method: display-errors ((form form))
Writer Method: (setf display-errors) ((form form))

A list containing the places where to display errors. Valid options are :list and :inline

Source

cl-forms.lisp.

Target Slot

display-errors.

Package

cl-forms.

Methods
Source

file.lisp.

Generic Reader: empty-item-predicate (object)
Generic Writer: (setf empty-item-predicate) (object)
Package

cl-forms.

Methods
Reader Method: empty-item-predicate ((list-form-field list-form-field))
Writer Method: (setf empty-item-predicate) ((list-form-field list-form-field))

A predicate that tells when a list item is considered empty, and so it is removed from the list

Source

list.lisp.

Target Slot

empty-item-predicate.

Generic Function: field-add-to-path (form-field form &optional path)
Package

cl-forms.

Source

cl-forms.lisp.

Methods
Method: field-add-to-path ((form-field subform-form-field) form &optional path)
Source

subform.lisp.

Method: field-add-to-path (form-field form &optional path)
Generic Function: field-choices (field)
Package

cl-forms.

Methods
Method: field-choices ((field choice-form-field))
Source

choice.lisp.

Generic Writer: (setf field-choices) (object)
Package

cl-forms.

Methods
Writer Method: (setf field-choices) ((choice-form-field choice-form-field))

An alist with the choices. Or a function with which to obtain the choices.

Source

choice.lisp.

Target Slot

choices.

Generic Function: field-choices-alist (field)
Package

cl-forms.

Methods
Method: field-choices-alist ((field choice-form-field))
Source

choice.lisp.

Generic Reader: field-constraints (object)
Generic Writer: (setf field-constraints) (object)
Package

cl-forms.

Methods
Reader Method: field-constraints ((form-field form-field))
Writer Method: (setf field-constraints) ((form-field form-field))

A list of CLAVIER validators.

Source

cl-forms.lisp.

Target Slot

constraints.

Generic Reader: field-default-value (object)
Generic Writer: (setf field-default-value) (object)
Package

cl-forms.

Methods
Reader Method: field-default-value ((form-field form-field))
Writer Method: (setf field-default-value) ((form-field form-field))

Value to use when the field value is nil

Source

cl-forms.lisp.

Target Slot

default-value.

Generic Reader: field-disabled-p (object)
Generic Writer: (setf field-disabled-p) (object)
Package

cl-forms.

Methods
Reader Method: field-disabled-p ((form-field form-field))
Writer Method: (setf field-disabled-p) ((form-field form-field))

Whether the field is disabled

Source

cl-forms.lisp.

Target Slot

disabled.

Generic Reader: field-expanded (object)
Generic Writer: (setf field-expanded) (object)
Package

cl-forms.

Methods
Reader Method: field-expanded ((choice-form-field choice-form-field))
Writer Method: (setf field-expanded) ((choice-form-field choice-form-field))

If set to true, radio buttons or checkboxes will be rendered (depending on the multiple value). If false, a select element will be rendered.

Source

choice.lisp.

Target Slot

expanded.

Generic Reader: field-form (object)
Generic Writer: (setf field-form) (object)
Package

cl-forms.

Methods
Reader Method: field-form ((form-field form-field))
Writer Method: (setf field-form) ((form-field form-field))

The form the field belongs to

Source

cl-forms.lisp.

Target Slot

form.

Generic Reader: field-hash-function (object)
Generic Writer: (setf field-hash-function) (object)
Package

cl-forms.

Methods
Reader Method: field-hash-function ((choice-form-field choice-form-field))
Writer Method: (setf field-hash-function) ((choice-form-field choice-form-field))

The function to use for choices key

Source

choice.lisp.

Target Slot

hash-function.

Generic Reader: field-help-text (object)
Generic Writer: (setf field-help-text) (object)
Package

cl-forms.

Methods
Reader Method: field-help-text ((form-field form-field))
Writer Method: (setf field-help-text) ((form-field form-field))

Field help text

Source

cl-forms.lisp.

Target Slot

help-text.

Generic Reader: field-invalid-message (object)
Generic Writer: (setf field-invalid-message) (object)
Package

cl-forms.

Methods
Reader Method: field-invalid-message ((form-field form-field))
Writer Method: (setf field-invalid-message) ((form-field form-field))

Message to display when field is invalid

Source

cl-forms.lisp.

Target Slot

invalid-message.

Generic Function: field-key-and-value (field)
Package

cl-forms.

Methods
Method: field-key-and-value ((field choice-form-field))
Source

choice.lisp.

Generic Reader: field-key-reader (object)
Generic Writer: (setf field-key-reader) (object)
Package

cl-forms.

Methods
Reader Method: field-key-reader ((choice-form-field choice-form-field))
Writer Method: (setf field-key-reader) ((choice-form-field choice-form-field))

Function to read the option key from the request

Source

choice.lisp.

Target Slot

key-reader.

Generic Function: field-keys-and-values (field)
Package

cl-forms.

Methods
Method: field-keys-and-values ((field choice-form-field))
Source

choice.lisp.

Generic Reader: field-multiple (object)
Generic Writer: (setf field-multiple) (object)
Package

cl-forms.

Methods
Reader Method: field-multiple ((choice-form-field choice-form-field))
Writer Method: (setf field-multiple) ((choice-form-field choice-form-field))

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.

Source

choice.lisp.

Target Slot

multiple.

Generic Reader: field-name (object)
Generic Writer: (setf field-name) (object)
Package

cl-forms.

Methods
Reader Method: field-name ((form-field form-field))
Writer Method: (setf field-name) ((form-field form-field))

The field name

Source

cl-forms.lisp.

Target Slot

name.

Generic Reader: field-placeholder (object)
Generic Writer: (setf field-placeholder) (object)
Package

cl-forms.

Methods
Reader Method: field-placeholder ((form-field form-field))
Writer Method: (setf field-placeholder) ((form-field form-field))

Field placeholder (text that appears when the field is empty)

Source

cl-forms.lisp.

Target Slot

placeholder.

Generic Reader: field-preferred-choices (object)
Generic Writer: (setf field-preferred-choices) (object)
Package

cl-forms.

Methods
Reader Method: field-preferred-choices ((choice-form-field choice-form-field))
Writer Method: (setf field-preferred-choices) ((choice-form-field choice-form-field))

If this option is specified, then a sub-set of all of the options will be moved to the top of the select menu.

Source

choice.lisp.

Target Slot

preferred-choices.

Generic Function: field-read-from-request (field form parameters)
Package

cl-forms.

Source

cl-forms.lisp.

Methods
Method: field-read-from-request ((field list-form-field) form parameters)
Source

list.lisp.

Method: field-read-from-request ((field subform-form-field) form parameters)
Source

subform.lisp.

Method: field-read-from-request ((field submit-form-field) form parameters)
Source

submit.lisp.

Method: field-read-from-request ((field hidden-form-field) form parameters)
Source

hidden.lisp.

Method: field-read-from-request ((field stateful-file-field) form parameters)
Source

file.lisp.

Method: field-read-from-request ((field file-form-field) form parameters)
Source

file.lisp.

Method: field-read-from-request ((field datetime-form-field) form parameters)
Source

datetime.lisp.

Method: field-read-from-request ((field date-form-field) form parameters)
Source

date.lisp.

Method: field-read-from-request ((field choice-form-field) form parameters)
Source

choice.lisp.

Method: field-read-from-request ((field integer-form-field) form parameters)
Source

integer.lisp.

Method: field-read-from-request ((field url-form-field) form parameters)
Source

url.lisp.

Method: field-read-from-request ((field password-form-field) form parameters)
Source

password.lisp.

Method: field-read-from-request ((field email-form-field) form parameters)
Source

email.lisp.

Method: field-read-from-request ((field boolean-form-field) form parameters)
Source

boolean.lisp.

Method: field-read-from-request ((field string-form-field) form parameters)
Source

string.lisp.

Method: field-read-from-request :after (field form parameters)

Use the parser function after reading the value from the request

Method: field-read-from-request :around (field form parameters)
Generic Reader: field-read-only-p (object)
Generic Writer: (setf field-read-only-p) (object)
Package

cl-forms.

Methods
Reader Method: field-read-only-p ((form-field form-field))
Writer Method: (setf field-read-only-p) ((form-field form-field))

Whether the field is read only

Source

cl-forms.lisp.

Target Slot

read-only.

Generic Function: field-render-label-p (field)
Package

cl-forms.

Methods
Method: field-render-label-p ((field submit-form-field))
Source

submit.lisp.

Method: field-render-label-p ((field hidden-form-field))
Source

hidden.lisp.

Method: field-render-label-p ((field form-field))
Source

cl-forms.lisp.

Generic Reader: field-required-message (object)
Generic Writer: (setf field-required-message) (object)
Package

cl-forms.

Methods
Reader Method: field-required-message ((form-field form-field))
Writer Method: (setf field-required-message) ((form-field form-field))

Message to display when field is required

Source

cl-forms.lisp.

Target Slot

required-message.

Generic Function: field-required-p (object)
Package

cl-forms.

Methods
Method: field-required-p ((form-field boolean-form-field))
Source

boolean.lisp.

Reader Method: field-required-p ((form-field form-field))

Whether the field is required

Source

cl-forms.lisp.

Target Slot

required.

Generic Writer: (setf field-required-p) (object)
Package

cl-forms.

Methods
Writer Method: (setf field-required-p) ((form-field form-field))

Whether the field is required

Source

cl-forms.lisp.

Target Slot

required.

Generic Function: field-subform (field)
Package

cl-forms.

Methods
Method: field-subform ((field subform-form-field))
Source

subform.lisp.

Generic Reader: field-subform-builder (object)
Package

cl-forms.

Methods
Reader Method: field-subform-builder ((subform-form-field subform-form-field))

automatically generated reader method

Source

subform.lisp.

Target Slot

subform-builder.

Generic Writer: (setf field-subform-builder) (object)
Package

cl-forms.

Methods
Writer Method: (setf field-subform-builder) ((subform-form-field subform-form-field))

automatically generated writer method

Source

subform.lisp.

Target Slot

subform-builder.

Generic Reader: field-subform-name (object)
Package

cl-forms.

Methods
Reader Method: field-subform-name ((subform-form-field subform-form-field))

automatically generated reader method

Source

subform.lisp.

Target Slot

subform.

Generic Writer: (setf field-subform-name) (object)
Package

cl-forms.

Methods
Writer Method: (setf field-subform-name) ((subform-form-field subform-form-field))

automatically generated writer method

Source

subform.lisp.

Target Slot

subform.

Generic Reader: field-test (object)
Generic Writer: (setf field-test) (object)
Package

cl-forms.

Methods
Reader Method: field-test ((choice-form-field choice-form-field))
Writer Method: (setf field-test) ((choice-form-field choice-form-field))

Function to test equality between choices

Source

choice.lisp.

Target Slot

test.

Generic Reader: field-trim-p (object)
Generic Writer: (setf field-trim-p) (object)
Package

cl-forms.

Methods
Reader Method: field-trim-p ((form-field form-field))
Writer Method: (setf field-trim-p) ((form-field form-field))

Trim the input

Source

cl-forms.lisp.

Target Slot

trim.

Generic Reader: field-validation-triggers (object)
Generic Writer: (setf field-validation-triggers) (object)
Package

cl-forms.

Methods
Reader Method: field-validation-triggers ((form-field form-field))
Writer Method: (setf field-validation-triggers) ((form-field form-field))

Client side validation triggers. A list of :change, :focus, :focusout, :focusin, etc

Source

cl-forms.lisp.

Target Slot

validation-triggers.

Generic Reader: field-widget (object)
Package

cl-forms.

Methods
Reader Method: field-widget ((datetime-form-field datetime-form-field))

automatically generated reader method

Source

datetime.lisp.

Target Slot

widget.

Reader Method: field-widget ((date-form-field date-form-field))

automatically generated reader method

Source

date.lisp.

Target Slot

widget.

Generic Writer: (setf field-widget) (object)
Package

cl-forms.

Methods
Writer Method: (setf field-widget) ((datetime-form-field datetime-form-field))

automatically generated writer method

Source

datetime.lisp.

Target Slot

widget.

Writer Method: (setf field-widget) ((date-form-field date-form-field))

automatically generated writer method

Source

date.lisp.

Target Slot

widget.

Generic Reader: file-accept (object)
Generic Writer: (setf file-accept) (object)
Package

cl-forms.

Methods
Reader Method: file-accept ((file-form-field file-form-field))
Writer Method: (setf file-accept) ((file-form-field file-form-field))

Files accepted. See https://www.w3schools.com/tags/att_input_accept.asp

Source

file.lisp.

Target Slot

accept.

Generic Reader: file-content-type (object)
Package

cl-forms.

Methods
Reader Method: file-content-type ((file-form-field file-form-field))

automatically generated reader method

Source

file.lisp.

Target Slot

content-type.

Generic Writer: (setf file-content-type) (object)
Package

cl-forms.

Methods
Writer Method: (setf file-content-type) ((file-form-field file-form-field))

automatically generated writer method

Source

file.lisp.

Target Slot

content-type.

Generic Reader: file-name (object)
Package

cl-forms.

Methods
Reader Method: file-name ((file-form-field file-form-field))

automatically generated reader method

Source

file.lisp.

Target Slot

file-name.

Generic Writer: (setf file-name) (object)
Package

cl-forms.

Methods
Writer Method: (setf file-name) ((file-form-field file-form-field))

automatically generated writer method

Source

file.lisp.

Target Slot

file-name.

Generic Reader: file-path (object)
Package

cl-forms.

Methods
Reader Method: file-path ((file-form-field file-form-field))

automatically generated reader method

Source

file.lisp.

Target Slot

path.

Generic Writer: (setf file-path) (object)
Package

cl-forms.

Methods
Writer Method: (setf file-path) ((file-form-field file-form-field))

automatically generated writer method

Source

file.lisp.

Target Slot

path.

Generic Reader: form-action (object)
Generic Writer: (setf form-action) (object)
Package

cl-forms.

Methods
Reader Method: form-action ((form form))
Writer Method: (setf form-action) ((form form))

The form action

Source

cl-forms.lisp.

Target Slot

action.

Generic Reader: form-csrf-field-name (object)
Generic Writer: (setf form-csrf-field-name) (object)
Package

cl-forms.

Methods
Reader Method: form-csrf-field-name ((form form))
Writer Method: (setf form-csrf-field-name) ((form form))

csrf field name

Source

cl-forms.lisp.

Target Slot

csrf-field-name.

Generic Reader: form-csrf-protection-p (object)
Generic Writer: (setf form-csrf-protection-p) (object)
Package

cl-forms.

Methods
Reader Method: form-csrf-protection-p ((form form))
Writer Method: (setf form-csrf-protection-p) ((form form))

T when csrf protection is enabled

Source

cl-forms.lisp.

Target Slot

csrf-protection.

Generic Reader: form-enctype (object)
Generic Writer: (setf form-enctype) (object)
Package

cl-forms.

Methods
Reader Method: form-enctype ((form form))
Writer Method: (setf form-enctype) ((form form))

Form encoding type. i.e. Use multipart/form-data for file uploads

Source

cl-forms.lisp.

Target Slot

enctype.

Generic Reader: form-id (object)
Generic Writer: (setf form-id) (object)
Package

cl-forms.

Methods
Reader Method: form-id ((form form))
Writer Method: (setf form-id) ((form form))

The form id

Source

cl-forms.lisp.

Target Slot

id.

Generic Reader: form-method (object)
Generic Writer: (setf form-method) (object)
Package

cl-forms.

Methods
Reader Method: form-method ((form form))
Writer Method: (setf form-method) ((form form))

The form method

Source

cl-forms.lisp.

Target Slot

method.

Generic Reader: form-model (object)
Generic Writer: (setf form-model) (object)
Package

cl-forms.

Methods
Reader Method: form-model ((form form))
Writer Method: (setf form-model) ((form form))

The form model object

Source

cl-forms.lisp.

Target Slot

model.

Generic Reader: form-name (object)
Generic Writer: (setf form-name) (object)
Package

cl-forms.

Methods
Reader Method: form-name ((form form))
Writer Method: (setf form-name) ((form form))

The form name

Source

cl-forms.lisp.

Target Slot

name.

Generic Function: form-session-csrf-entry (form)
Package

cl-forms.

Methods
Method: form-session-csrf-entry ((form form))
Source

cl-forms.lisp.

Generic Function: get-form-session-csrf-token (form)
Package

cl-forms.

Methods
Method: get-form-session-csrf-token ((form form))
Source

cl-forms.lisp.

Generic Reader: list-field-type (object)
Generic Writer: (setf list-field-type) (object)
Package

cl-forms.

Methods
Reader Method: list-field-type ((list-form-field list-form-field))
Writer Method: (setf list-field-type) ((list-form-field list-form-field))

The list elements type.

Source

list.lisp.

Target Slot

type.

Generic Function: make-csrf-token (form)
Package

cl-forms.

Methods
Method: make-csrf-token ((form form))
Source

cl-forms.lisp.

Generic Function: make-form-field (field-type &rest args)
Package

cl-forms.

Source

cl-forms.lisp.

Methods
Method: make-form-field ((field-type (eql :list)) &rest args)
Source

list.lisp.

Method: make-form-field ((field-type (eql :subform)) &rest args)
Source

subform.lisp.

Method: make-form-field ((field-type (eql :submit)) &rest args)
Source

submit.lisp.

Method: make-form-field ((field-type (eql :hidden)) &rest args)
Source

hidden.lisp.

Method: make-form-field ((field-type (eql :stateful-file)) &rest args)
Source

file.lisp.

Method: make-form-field ((field-type (eql :file)) &rest args)
Source

file.lisp.

Method: make-form-field ((field-type (eql :datetime)) &rest args)
Source

datetime.lisp.

Method: make-form-field ((field-type (eql :date)) &rest args)
Source

date.lisp.

Method: make-form-field ((field-type (eql :string-choice)) &rest args)
Source

choice.lisp.

Method: make-form-field ((field-type (eql :choice)) &rest args)
Source

choice.lisp.

Method: make-form-field ((field-type (eql :integer)) &rest args)
Source

integer.lisp.

Method: make-form-field ((field-type (eql integer)) &rest args)
Source

integer.lisp.

Method: make-form-field ((field-type (eql :url)) &rest args)
Source

url.lisp.

Method: make-form-field ((field-type (eql :password)) &rest args)
Source

password.lisp.

Method: make-form-field ((field-type (eql :email)) &rest args)
Source

email.lisp.

Method: make-form-field ((field-type (eql :boolean)) &rest args)
Source

boolean.lisp.

Method: make-form-field ((field-type (eql boolean)) &rest args)
Source

boolean.lisp.

Method: make-form-field ((field-type (eql cl-forms::text)) &rest args)
Source

string.lisp.

Method: make-form-field ((field-type (eql :text)) &rest args)
Source

string.lisp.

Method: make-form-field ((field-type (eql :string)) &rest args)
Source

string.lisp.

Method: make-form-field ((field-type (eql string)) &rest args)
Source

string.lisp.

Method: make-form-field (field-type &rest args)

Provide a good error message when a field cannot be built

Generic Reader: multiple-p (object)
Generic Writer: (setf multiple-p) (object)
Package

cl-forms.

Methods
Reader Method: multiple-p ((file-form-field file-form-field))
Writer Method: (setf multiple-p) ((file-form-field file-form-field))

If this fields handles multiple file uploads

Source

file.lisp.

Target Slot

multiple.

Generic Reader: remove-button-p (object)
Generic Writer: (setf remove-button-p) (object)
Package

cl-forms.

Methods
Reader Method: remove-button-p ((list-form-field list-form-field))
Writer Method: (setf remove-button-p) ((list-form-field list-form-field))

Whether add an item removal button or not

Source

list.lisp.

Target Slot

remove-button.

Generic Function: renderer-render-field (renderer theme field form &rest args)
Package

cl-forms.

Source

cl-forms.lisp.

Generic Function: renderer-render-field-errors (renderer theme field form &rest args)
Package

cl-forms.

Source

cl-forms.lisp.

Methods
Method: renderer-render-field-errors :around (renderer theme field form &rest args)
Generic Function: renderer-render-field-label (renderer theme field form &rest args)
Package

cl-forms.

Source

cl-forms.lisp.

Generic Function: renderer-render-field-widget (renderer theme field form &rest argss)
Package

cl-forms.

Source

cl-forms.lisp.

Methods
Method: renderer-render-field-widget :around (renderer theme field form &rest args)
Generic Function: renderer-render-form (renderer theme form &rest args)
Package

cl-forms.

Source

cl-forms.lisp.

Generic Function: renderer-render-form-end (renderer theme form)
Package

cl-forms.

Source

cl-forms.lisp.

Generic Function: renderer-render-form-errors (renderer theme form &rest args)
Package

cl-forms.

Source

cl-forms.lisp.

Methods
Method: renderer-render-form-errors :around (renderer theme form &rest args)
Generic Function: renderer-render-form-start (renderer theme form &rest args)
Package

cl-forms.

Source

cl-forms.lisp.

Generic Function: request-post-parameters (request)
Package

cl-forms.

Source

request.lisp.

Methods
Method: request-post-parameters ((request request))
Generic Function: set-form-session-csrf-token (form)
Package

cl-forms.

Methods
Method: set-form-session-csrf-token ((form form))
Source

cl-forms.lisp.

Generic Function: subform-builder (field)
Package

cl-forms.

Methods
Method: subform-builder ((field subform-form-field))
Source

subform.lisp.

Generic Reader: upload-handler (object)
Generic Writer: (setf upload-handler) (object)
Package

cl-forms.

Methods
Reader Method: upload-handler ((file-form-field file-form-field))
Writer Method: (setf upload-handler) ((file-form-field file-form-field))

Function that handles the file upload

Source

file.lisp.

Target Slot

upload-handler.

Generic Reader: use-key-as-value (object)
Generic Writer: (setf use-key-as-value) (object)
Package

cl-forms.

Methods
Reader Method: use-key-as-value ((choice-form-field choice-form-field))
Writer Method: (setf use-key-as-value) ((choice-form-field choice-form-field))

When T, use the key/s of the field as value of the field when it is read from request

Source

choice.lisp.

Target Slot

use-key-as-value.

Generic Function: validate-form-field (form-field)
Package

cl-forms.

Source

cl-forms.lisp.

Methods
Method: validate-form-field ((form-field datetime-form-field))
Source

datetime.lisp.

Method: validate-form-field ((form-field date-form-field))
Source

date.lisp.

Method: validate-form-field ((form-field integer-form-field))
Source

integer.lisp.

Method: validate-form-field ((form-field url-form-field))
Source

url.lisp.

Method: validate-form-field ((form-field email-form-field))
Source

email.lisp.

Method: validate-form-field ((form-field boolean-form-field))
Source

boolean.lisp.

Method: validate-form-field ((form-field string-form-field))
Source

string.lisp.

Method: validate-form-field ((form-field form-field))
Method: validate-form-field :around ((form-field form-field))
Generic Reader: validator-field (object)
Generic Writer: (setf validator-field) (object)
Package

cl-forms.

Methods
Reader Method: validator-field ((field-validator field-validator))
Writer Method: (setf validator-field) ((field-validator field-validator))

The validator field

Source

cl-forms.lisp.

Target Slot

field.


6.2.4 Standalone methods

Method: %validate ((validator choice-field-validator) object &rest args)
Package

clavier.

Source

choice.lisp.

Method: %validate ((validator date-validator) object &rest args)
Package

clavier.

Source

date.lisp.

Method: %validate ((validator datetime-validator) object &rest args)
Package

clavier.

Source

datetime.lisp.


6.2.5 Classes

Class: choice-field-validator
Package

cl-forms.

Source

choice.lisp.

Direct superclasses

field-validator.

Direct methods

%validate.

Direct Default Initargs
InitargValue
:messagethe option is not valid
Class: date-validator

A date validator. TODO: should perhaps be part of clavier validators

Package

cl-forms.

Source

date.lisp.

Direct superclasses

validator.

Direct methods
Direct Default Initargs
InitargValue
:message(lambda (validator object) (declare (ignorable validator object)) the date is invalid)
Direct slots
Slot: date-format
Initform

cl-forms::+default-date-format+

Initargs

:date-format

Readers

date-format.

Writers

(setf date-format).

Class: datetime-validator

A datetime validator. TODO: should perhaps be part of clavier validators

Package

cl-forms.

Source

datetime.lisp.

Direct superclasses

validator.

Direct methods
Direct Default Initargs
InitargValue
:message(lambda (validator object) (declare (ignorable validator object)) the datetime is invalid)
Direct slots
Slot: datetime-format
Initform

cl-forms::+default-datetime-format+

Initargs

:datetime-format

Readers

datetime-format.

Writers

(setf datetime-format).

Class: default-form-theme

The default form theme

Package

cl-forms.

Source

default.lisp.

Direct superclasses

form-theme.

Class: field-validator

Generic field validator. Needs a field to be initialized.

Package

cl-forms.

Source

cl-forms.lisp.

Direct superclasses

validator.

Direct subclasses

choice-field-validator.

Direct methods
Direct slots
Slot: field

The validator field

Initform

(error "provide the field")

Initargs

:field

Readers

validator-field.

Writers

(setf validator-field).

Class: form-theme
Package

cl-forms.

Source

theme.lisp.

Direct subclasses

default-form-theme.

Class: stateful-file-field

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

Package

cl-forms.

Source

file.lisp.

Direct superclasses

file-form-field.

Direct methods
Direct slots

Function to generate the download link to the file

Type

(or null string symbol function)

Initargs

:download-link

Class: string-choice-form-field

A choice field for working with string options

Package

cl-forms.

Source

choice.lisp.

Direct superclasses

choice-form-field.

Direct Default Initargs
InitargValue
:test(quote string=)
:hash-function(quote identity)
:use-key-as-valuet

Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   %   (  
A   C   D   E   F   G   H   I   L   M   P   R   S   U   V   W  
Index Entry  Section

%
%collect-replace-fields: Private ordinary functions
%validate: Private standalone methods
%validate: Private standalone methods
%validate: Private standalone methods

(
(setf add-button-p): Private generic functions
(setf add-button-p): Private generic functions
(setf client-validation): Private generic functions
(setf client-validation): Private generic functions
(setf date-format): Private generic functions
(setf date-format): Private generic functions
(setf date-format): Private generic functions
(setf date-max): Private generic functions
(setf date-max): Private generic functions
(setf date-min): Private generic functions
(setf date-min): Private generic functions
(setf datetime-format): Private generic functions
(setf datetime-format): Private generic functions
(setf datetime-format): Private generic functions
(setf datetime-max): Private generic functions
(setf datetime-max): Private generic functions
(setf datetime-min): Private generic functions
(setf datetime-min): Private generic functions
(setf display-errors): Private generic functions
(setf display-errors): Private generic functions
(setf empty-item-predicate): Private generic functions
(setf empty-item-predicate): Private generic functions
(setf field-accessor): Public generic functions
(setf field-accessor): Public generic functions
(setf field-choices): Private generic functions
(setf field-choices): Private generic functions
(setf field-constraints): Private generic functions
(setf field-constraints): Private generic functions
(setf field-default-value): Private generic functions
(setf field-default-value): Private generic functions
(setf field-disabled-p): Private generic functions
(setf field-disabled-p): Private generic functions
(setf field-expanded): Private generic functions
(setf field-expanded): Private generic functions
(setf field-form): Private generic functions
(setf field-form): Private generic functions
(setf field-formatter): Public generic functions
(setf field-formatter): Public generic functions
(setf field-hash-function): Private generic functions
(setf field-hash-function): Private generic functions
(setf field-help-text): Private generic functions
(setf field-help-text): Private generic functions
(setf field-invalid-message): Private generic functions
(setf field-invalid-message): Private generic functions
(setf field-key-reader): Private generic functions
(setf field-key-reader): Private generic functions
(setf field-multiple): Private generic functions
(setf field-multiple): Private generic functions
(setf field-name): Private generic functions
(setf field-name): Private generic functions
(setf field-parser): Public generic functions
(setf field-parser): Public generic functions
(setf field-placeholder): Private generic functions
(setf field-placeholder): Private generic functions
(setf field-preferred-choices): Private generic functions
(setf field-preferred-choices): Private generic functions
(setf field-read-only-p): Private generic functions
(setf field-read-only-p): Private generic functions
(setf field-required-message): Private generic functions
(setf field-required-message): Private generic functions
(setf field-required-p): Private generic functions
(setf field-required-p): Private generic functions
(setf field-subform-builder): Private generic functions
(setf field-subform-builder): Private generic functions
(setf field-subform-name): Private generic functions
(setf field-subform-name): Private generic functions
(setf field-test): Private generic functions
(setf field-test): Private generic functions
(setf field-trim-p): Private generic functions
(setf field-trim-p): Private generic functions
(setf field-validation-triggers): Private generic functions
(setf field-validation-triggers): Private generic functions
(setf field-value): Public generic functions
(setf field-value): Public generic functions
(setf field-widget): Private generic functions
(setf field-widget): Private generic functions
(setf field-widget): Private generic functions
(setf file-accept): Private generic functions
(setf file-accept): Private generic functions
(setf file-content-type): Private generic functions
(setf file-content-type): Private generic functions
(setf file-name): Private generic functions
(setf file-name): Private generic functions
(setf file-path): Private generic functions
(setf file-path): Private generic functions
(setf form-action): Private generic functions
(setf form-action): Private generic functions
(setf form-csrf-field-name): Private generic functions
(setf form-csrf-field-name): Private generic functions
(setf form-csrf-protection-p): Private generic functions
(setf form-csrf-protection-p): Private generic functions
(setf form-enctype): Private generic functions
(setf form-enctype): Private generic functions
(setf form-errors): Public generic functions
(setf form-errors): Public generic functions
(setf form-fields): Public generic functions
(setf form-fields): Public generic functions
(setf form-id): Private generic functions
(setf form-id): Private generic functions
(setf form-method): Private generic functions
(setf form-method): Private generic functions
(setf form-model): Private generic functions
(setf form-model): Private generic functions
(setf form-name): Private generic functions
(setf form-name): Private generic functions
(setf list-field-type): Private generic functions
(setf list-field-type): Private generic functions
(setf multiple-p): Private generic functions
(setf multiple-p): Private generic functions
(setf remove-button-p): Private generic functions
(setf remove-button-p): Private generic functions
(setf upload-handler): Private generic functions
(setf upload-handler): Private generic functions
(setf use-key-as-value): Private generic functions
(setf use-key-as-value): Private generic functions
(setf validator-field): Private generic functions
(setf validator-field): Private generic functions

A
add-button-p: Private generic functions
add-button-p: Private generic functions
add-field: Public ordinary functions
add-form-error: Public ordinary functions
alistp: Private ordinary functions

C
call-with-form: Private ordinary functions
call-with-form-renderer: Private generic functions
call-with-form-renderer: Private generic functions
call-with-form-theme: Private ordinary functions
check-duplicate-fields: Private ordinary functions
client-validation: Private generic functions
client-validation: Private generic functions
collect-replace-fields: Private ordinary functions

D
date-format: Private generic functions
date-format: Private generic functions
date-format: Private generic functions
date-max: Private generic functions
date-max: Private generic functions
date-min: Private generic functions
date-min: Private generic functions
datetime-format: Private generic functions
datetime-format: Private generic functions
datetime-format: Private generic functions
datetime-max: Private generic functions
datetime-max: Private generic functions
datetime-min: Private generic functions
datetime-min: Private generic functions
defform: Public macros
defform-builder: Public macros
display-errors: Private generic functions
display-errors: Private generic functions
download-link: Private generic functions
download-link: Private generic functions

E
empty-item-predicate: Private generic functions
empty-item-predicate: Private generic functions
empty-value-p: Private ordinary functions

F
field-accessor: Public generic functions
field-accessor: Public generic functions
field-add-to-path: Private generic functions
field-add-to-path: Private generic functions
field-add-to-path: Private generic functions
field-choices: Private generic functions
field-choices: Private generic functions
field-choices-alist: Private generic functions
field-choices-alist: Private generic functions
field-constraints: Private generic functions
field-constraints: Private generic functions
field-default-value: Private generic functions
field-default-value: Private generic functions
field-disabled-p: Private generic functions
field-disabled-p: Private generic functions
field-expanded: Private generic functions
field-expanded: Private generic functions
field-form: Private generic functions
field-form: Private generic functions
field-formatter: Public generic functions
field-formatter: Public generic functions
field-hash-function: Private generic functions
field-hash-function: Private generic functions
field-help-text: Private generic functions
field-help-text: Private generic functions
field-invalid-message: Private generic functions
field-invalid-message: Private generic functions
field-key-and-value: Private generic functions
field-key-and-value: Private generic functions
field-key-reader: Private generic functions
field-key-reader: Private generic functions
field-keys-and-values: Private generic functions
field-keys-and-values: Private generic functions
field-label: Public generic functions
field-label: Public generic functions
field-multiple: Private generic functions
field-multiple: Private generic functions
field-name: Private generic functions
field-name: Private generic functions
field-parser: Public generic functions
field-parser: Public generic functions
field-placeholder: Private generic functions
field-placeholder: Private generic functions
field-preferred-choices: Private generic functions
field-preferred-choices: Private generic functions
field-read-from-request: Private generic functions
field-read-from-request: Private generic functions
field-read-from-request: Private generic functions
field-read-from-request: Private generic functions
field-read-from-request: Private generic functions
field-read-from-request: Private generic functions
field-read-from-request: Private generic functions
field-read-from-request: Private generic functions
field-read-from-request: Private generic functions
field-read-from-request: Private generic functions
field-read-from-request: Private generic functions
field-read-from-request: Private generic functions
field-read-from-request: Private generic functions
field-read-from-request: Private generic functions
field-read-from-request: Private generic functions
field-read-from-request: Private generic functions
field-read-from-request: Private generic functions
field-read-from-request: Private generic functions
field-read-only-p: Private generic functions
field-read-only-p: Private generic functions
field-reader: Public generic functions
field-reader: Public generic functions
field-render-label-p: Private generic functions
field-render-label-p: Private generic functions
field-render-label-p: Private generic functions
field-render-label-p: Private generic functions
field-request-name: Private ordinary functions
field-required-message: Private generic functions
field-required-message: Private generic functions
field-required-p: Private generic functions
field-required-p: Private generic functions
field-required-p: Private generic functions
field-subform: Private generic functions
field-subform: Private generic functions
field-subform-builder: Private generic functions
field-subform-builder: Private generic functions
field-subform-name: Private generic functions
field-subform-name: Private generic functions
field-test: Private generic functions
field-test: Private generic functions
field-trim-p: Private generic functions
field-trim-p: Private generic functions
field-valid-p: Public generic functions
field-valid-p: Public generic functions
field-validation-triggers: Private generic functions
field-validation-triggers: Private generic functions
field-value: Public generic functions
field-value: Public generic functions
field-value: Public generic functions
field-widget: Private generic functions
field-widget: Private generic functions
field-widget: Private generic functions
field-writer: Public generic functions
field-writer: Public generic functions
file-accept: Private generic functions
file-accept: Private generic functions
file-content-type: Private generic functions
file-content-type: Private generic functions
file-name: Private generic functions
file-name: Private generic functions
file-path: Private generic functions
file-path: Private generic functions
fill-form-from-model: Public ordinary functions
fill-model-from-form: Public ordinary functions
find-form: Public ordinary functions
form-action: Private generic functions
form-action: Private generic functions
form-csrf-field-name: Private generic functions
form-csrf-field-name: Private generic functions
form-csrf-protection-p: Private generic functions
form-csrf-protection-p: Private generic functions
form-enctype: Private generic functions
form-enctype: Private generic functions
form-errors: Public generic functions
form-errors: Public generic functions
form-fields: Public generic functions
form-fields: Public generic functions
form-id: Private generic functions
form-id: Private generic functions
form-method: Private generic functions
form-method: Private generic functions
form-model: Private generic functions
form-model: Private generic functions
form-name: Private generic functions
form-name: Private generic functions
form-session-csrf-entry: Private generic functions
form-session-csrf-entry: Private generic functions
form-valid-p: Public ordinary functions
format-field-value: Public generic functions
format-field-value: Public generic functions
format-field-value: Public generic functions
format-field-value: Public generic functions
format-field-value: Public generic functions
format-field-value: Public generic functions
format-field-value-to-string: Public ordinary functions
Function, %collect-replace-fields: Private ordinary functions
Function, add-field: Public ordinary functions
Function, add-form-error: Public ordinary functions
Function, alistp: Private ordinary functions
Function, call-with-form: Private ordinary functions
Function, call-with-form-theme: Private ordinary functions
Function, check-duplicate-fields: Private ordinary functions
Function, collect-replace-fields: Private ordinary functions
Function, empty-value-p: Private ordinary functions
Function, field-request-name: Private ordinary functions
Function, fill-form-from-model: Public ordinary functions
Function, fill-model-from-form: Public ordinary functions
Function, find-form: Public ordinary functions
Function, form-valid-p: Public ordinary functions
Function, format-field-value-to-string: Public ordinary functions
Function, get-field: Public ordinary functions
Function, get-field-value: Public ordinary functions
Function, get-form: Public ordinary functions
Function, handle-request: Public ordinary functions
Function, list-field-values: Private ordinary functions
Function, make-form: Private ordinary functions
Function, make-form-fields: Private ordinary functions
Function, make-formatter: Public ordinary functions
Function, post-parameters: Private ordinary functions
Function, remove-field: Public ordinary functions
Function, render-field: Public ordinary functions
Function, render-field-errors: Public ordinary functions
Function, render-field-label: Public ordinary functions
Function, render-field-request-name: Private ordinary functions
Function, render-field-widget: Public ordinary functions
Function, render-form: Public ordinary functions
Function, render-form-end: Public ordinary functions
Function, render-form-errors: Public ordinary functions
Function, render-form-start: Public ordinary functions
Function, set-field-value: Public ordinary functions
Function, validate-form: Public ordinary functions

G
Generic Function, (setf add-button-p): Private generic functions
Generic Function, (setf client-validation): Private generic functions
Generic Function, (setf date-format): Private generic functions
Generic Function, (setf date-max): Private generic functions
Generic Function, (setf date-min): Private generic functions
Generic Function, (setf datetime-format): Private generic functions
Generic Function, (setf datetime-max): Private generic functions
Generic Function, (setf datetime-min): Private generic functions
Generic Function, (setf display-errors): Private generic functions
Generic Function, (setf empty-item-predicate): Private generic functions
Generic Function, (setf field-accessor): Public generic functions
Generic Function, (setf field-choices): Private generic functions
Generic Function, (setf field-constraints): Private generic functions
Generic Function, (setf field-default-value): Private generic functions
Generic Function, (setf field-disabled-p): Private generic functions
Generic Function, (setf field-expanded): Private generic functions
Generic Function, (setf field-form): Private generic functions
Generic Function, (setf field-formatter): Public generic functions
Generic Function, (setf field-hash-function): Private generic functions
Generic Function, (setf field-help-text): Private generic functions
Generic Function, (setf field-invalid-message): Private generic functions
Generic Function, (setf field-key-reader): Private generic functions
Generic Function, (setf field-multiple): Private generic functions
Generic Function, (setf field-name): Private generic functions
Generic Function, (setf field-parser): Public generic functions
Generic Function, (setf field-placeholder): Private generic functions
Generic Function, (setf field-preferred-choices): Private generic functions
Generic Function, (setf field-read-only-p): Private generic functions
Generic Function, (setf field-required-message): Private generic functions
Generic Function, (setf field-required-p): Private generic functions
Generic Function, (setf field-subform-builder): Private generic functions
Generic Function, (setf field-subform-name): Private generic functions
Generic Function, (setf field-test): Private generic functions
Generic Function, (setf field-trim-p): Private generic functions
Generic Function, (setf field-validation-triggers): Private generic functions
Generic Function, (setf field-value): Public generic functions
Generic Function, (setf field-widget): Private generic functions
Generic Function, (setf file-accept): Private generic functions
Generic Function, (setf file-content-type): Private generic functions
Generic Function, (setf file-name): Private generic functions
Generic Function, (setf file-path): Private generic functions
Generic Function, (setf form-action): Private generic functions
Generic Function, (setf form-csrf-field-name): Private generic functions
Generic Function, (setf form-csrf-protection-p): Private generic functions
Generic Function, (setf form-enctype): Private generic functions
Generic Function, (setf form-errors): Public generic functions
Generic Function, (setf form-fields): Public generic functions
Generic Function, (setf form-id): Private generic functions
Generic Function, (setf form-method): Private generic functions
Generic Function, (setf form-model): Private generic functions
Generic Function, (setf form-name): Private generic functions
Generic Function, (setf list-field-type): Private generic functions
Generic Function, (setf multiple-p): Private generic functions
Generic Function, (setf remove-button-p): Private generic functions
Generic Function, (setf upload-handler): Private generic functions
Generic Function, (setf use-key-as-value): Private generic functions
Generic Function, (setf validator-field): Private generic functions
Generic Function, add-button-p: Private generic functions
Generic Function, call-with-form-renderer: Private generic functions
Generic Function, client-validation: Private generic functions
Generic Function, date-format: Private generic functions
Generic Function, date-max: Private generic functions
Generic Function, date-min: Private generic functions
Generic Function, datetime-format: Private generic functions
Generic Function, datetime-max: Private generic functions
Generic Function, datetime-min: Private generic functions
Generic Function, display-errors: Private generic functions
Generic Function, download-link: Private generic functions
Generic Function, empty-item-predicate: Private generic functions
Generic Function, field-accessor: Public generic functions
Generic Function, field-add-to-path: Private generic functions
Generic Function, field-choices: Private generic functions
Generic Function, field-choices-alist: Private generic functions
Generic Function, field-constraints: Private generic functions
Generic Function, field-default-value: Private generic functions
Generic Function, field-disabled-p: Private generic functions
Generic Function, field-expanded: Private generic functions
Generic Function, field-form: Private generic functions
Generic Function, field-formatter: Public generic functions
Generic Function, field-hash-function: Private generic functions
Generic Function, field-help-text: Private generic functions
Generic Function, field-invalid-message: Private generic functions
Generic Function, field-key-and-value: Private generic functions
Generic Function, field-key-reader: Private generic functions
Generic Function, field-keys-and-values: Private generic functions
Generic Function, field-label: Public generic functions
Generic Function, field-multiple: Private generic functions
Generic Function, field-name: Private generic functions
Generic Function, field-parser: Public generic functions
Generic Function, field-placeholder: Private generic functions
Generic Function, field-preferred-choices: Private generic functions
Generic Function, field-read-from-request: Private generic functions
Generic Function, field-read-only-p: Private generic functions
Generic Function, field-reader: Public generic functions
Generic Function, field-render-label-p: Private generic functions
Generic Function, field-required-message: Private generic functions
Generic Function, field-required-p: Private generic functions
Generic Function, field-subform: Private generic functions
Generic Function, field-subform-builder: Private generic functions
Generic Function, field-subform-name: Private generic functions
Generic Function, field-test: Private generic functions
Generic Function, field-trim-p: Private generic functions
Generic Function, field-valid-p: Public generic functions
Generic Function, field-validation-triggers: Private generic functions
Generic Function, field-value: Public generic functions
Generic Function, field-widget: Private generic functions
Generic Function, field-writer: Public generic functions
Generic Function, file-accept: Private generic functions
Generic Function, file-content-type: Private generic functions
Generic Function, file-name: Private generic functions
Generic Function, file-path: Private generic functions
Generic Function, form-action: Private generic functions
Generic Function, form-csrf-field-name: Private generic functions
Generic Function, form-csrf-protection-p: Private generic functions
Generic Function, form-enctype: Private generic functions
Generic Function, form-errors: Public generic functions
Generic Function, form-fields: Public generic functions
Generic Function, form-id: Private generic functions
Generic Function, form-method: Private generic functions
Generic Function, form-model: Private generic functions
Generic Function, form-name: Private generic functions
Generic Function, form-session-csrf-entry: Private generic functions
Generic Function, format-field-value: Public generic functions
Generic Function, get-form-session-csrf-token: Private generic functions
Generic Function, list-field-type: Private generic functions
Generic Function, make-csrf-token: Private generic functions
Generic Function, make-form-field: Private generic functions
Generic Function, multiple-p: Private generic functions
Generic Function, remove-button-p: Private generic functions
Generic Function, renderer-render-field: Private generic functions
Generic Function, renderer-render-field-errors: Private generic functions
Generic Function, renderer-render-field-label: Private generic functions
Generic Function, renderer-render-field-widget: Private generic functions
Generic Function, renderer-render-form: Private generic functions
Generic Function, renderer-render-form-end: Private generic functions
Generic Function, renderer-render-form-errors: Private generic functions
Generic Function, renderer-render-form-start: Private generic functions
Generic Function, request-post-parameters: Private generic functions
Generic Function, set-form-session-csrf-token: Private generic functions
Generic Function, subform-builder: Private generic functions
Generic Function, upload-handler: Private generic functions
Generic Function, use-key-as-value: Private generic functions
Generic Function, validate-form-field: Private generic functions
Generic Function, validator-field: Private generic functions
get-field: Public ordinary functions
get-field-value: Public ordinary functions
get-form: Public ordinary functions
get-form-session-csrf-token: Private generic functions
get-form-session-csrf-token: Private generic functions

H
handle-request: Public ordinary functions

I
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods

L
list-field-type: Private generic functions
list-field-type: Private generic functions
list-field-values: Private ordinary functions

M
Macro, defform: Public macros
Macro, defform-builder: Public macros
Macro, with-form: Public macros
Macro, with-form-field-values: Public macros
Macro, with-form-fields: Public macros
Macro, with-form-renderer: Public macros
Macro, with-form-template: Public macros
Macro, with-form-theme: Public macros
make-csrf-token: Private generic functions
make-csrf-token: Private generic functions
make-form: Private ordinary functions
make-form-field: Private generic functions
make-form-field: Private generic functions
make-form-field: Private generic functions
make-form-field: Private generic functions
make-form-field: Private generic functions
make-form-field: Private generic functions
make-form-field: Private generic functions
make-form-field: Private generic functions
make-form-field: Private generic functions
make-form-field: Private generic functions
make-form-field: Private generic functions
make-form-field: Private generic functions
make-form-field: Private generic functions
make-form-field: Private generic functions
make-form-field: Private generic functions
make-form-field: Private generic functions
make-form-field: Private generic functions
make-form-field: Private generic functions
make-form-field: Private generic functions
make-form-field: Private generic functions
make-form-field: Private generic functions
make-form-field: Private generic functions
make-form-field: Private generic functions
make-form-fields: Private ordinary functions
make-formatter: Public ordinary functions
Method, %validate: Private standalone methods
Method, %validate: Private standalone methods
Method, %validate: Private standalone methods
Method, (setf add-button-p): Private generic functions
Method, (setf client-validation): Private generic functions
Method, (setf date-format): Private generic functions
Method, (setf date-format): Private generic functions
Method, (setf date-max): Private generic functions
Method, (setf date-min): Private generic functions
Method, (setf datetime-format): Private generic functions
Method, (setf datetime-format): Private generic functions
Method, (setf datetime-max): Private generic functions
Method, (setf datetime-min): Private generic functions
Method, (setf display-errors): Private generic functions
Method, (setf empty-item-predicate): Private generic functions
Method, (setf field-accessor): Public generic functions
Method, (setf field-choices): Private generic functions
Method, (setf field-constraints): Private generic functions
Method, (setf field-default-value): Private generic functions
Method, (setf field-disabled-p): Private generic functions
Method, (setf field-expanded): Private generic functions
Method, (setf field-form): Private generic functions
Method, (setf field-formatter): Public generic functions
Method, (setf field-hash-function): Private generic functions
Method, (setf field-help-text): Private generic functions
Method, (setf field-invalid-message): Private generic functions
Method, (setf field-key-reader): Private generic functions
Method, (setf field-multiple): Private generic functions
Method, (setf field-name): Private generic functions
Method, (setf field-parser): Public generic functions
Method, (setf field-placeholder): Private generic functions
Method, (setf field-preferred-choices): Private generic functions
Method, (setf field-read-only-p): Private generic functions
Method, (setf field-required-message): Private generic functions
Method, (setf field-required-p): Private generic functions
Method, (setf field-subform-builder): Private generic functions
Method, (setf field-subform-name): Private generic functions
Method, (setf field-test): Private generic functions
Method, (setf field-trim-p): Private generic functions
Method, (setf field-validation-triggers): Private generic functions
Method, (setf field-value): Public generic functions
Method, (setf field-widget): Private generic functions
Method, (setf field-widget): Private generic functions
Method, (setf file-accept): Private generic functions
Method, (setf file-content-type): Private generic functions
Method, (setf file-name): Private generic functions
Method, (setf file-path): Private generic functions
Method, (setf form-action): Private generic functions
Method, (setf form-csrf-field-name): Private generic functions
Method, (setf form-csrf-protection-p): Private generic functions
Method, (setf form-enctype): Private generic functions
Method, (setf form-errors): Public generic functions
Method, (setf form-fields): Public generic functions
Method, (setf form-id): Private generic functions
Method, (setf form-method): Private generic functions
Method, (setf form-model): Private generic functions
Method, (setf form-name): Private generic functions
Method, (setf list-field-type): Private generic functions
Method, (setf multiple-p): Private generic functions
Method, (setf remove-button-p): Private generic functions
Method, (setf upload-handler): Private generic functions
Method, (setf use-key-as-value): Private generic functions
Method, (setf validator-field): Private generic functions
Method, add-button-p: Private generic functions
Method, call-with-form-renderer: Private generic functions
Method, client-validation: Private generic functions
Method, date-format: Private generic functions
Method, date-format: Private generic functions
Method, date-max: Private generic functions
Method, date-min: Private generic functions
Method, datetime-format: Private generic functions
Method, datetime-format: Private generic functions
Method, datetime-max: Private generic functions
Method, datetime-min: Private generic functions
Method, display-errors: Private generic functions
Method, download-link: Private generic functions
Method, empty-item-predicate: Private generic functions
Method, field-accessor: Public generic functions
Method, field-add-to-path: Private generic functions
Method, field-add-to-path: Private generic functions
Method, field-choices: Private generic functions
Method, field-choices-alist: Private generic functions
Method, field-constraints: Private generic functions
Method, field-default-value: Private generic functions
Method, field-disabled-p: Private generic functions
Method, field-expanded: Private generic functions
Method, field-form: Private generic functions
Method, field-formatter: Public generic functions
Method, field-hash-function: Private generic functions
Method, field-help-text: Private generic functions
Method, field-invalid-message: Private generic functions
Method, field-key-and-value: Private generic functions
Method, field-key-reader: Private generic functions
Method, field-keys-and-values: Private generic functions
Method, field-label: Public generic functions
Method, field-multiple: Private generic functions
Method, field-name: Private generic functions
Method, field-parser: Public generic functions
Method, field-placeholder: Private generic functions
Method, field-preferred-choices: Private generic functions
Method, field-read-from-request: Private generic functions
Method, field-read-from-request: Private generic functions
Method, field-read-from-request: Private generic functions
Method, field-read-from-request: Private generic functions
Method, field-read-from-request: Private generic functions
Method, field-read-from-request: Private generic functions
Method, field-read-from-request: Private generic functions
Method, field-read-from-request: Private generic functions
Method, field-read-from-request: Private generic functions
Method, field-read-from-request: Private generic functions
Method, field-read-from-request: Private generic functions
Method, field-read-from-request: Private generic functions
Method, field-read-from-request: Private generic functions
Method, field-read-from-request: Private generic functions
Method, field-read-from-request: Private generic functions
Method, field-read-from-request: Private generic functions
Method, field-read-from-request: Private generic functions
Method, field-read-only-p: Private generic functions
Method, field-reader: Public generic functions
Method, field-render-label-p: Private generic functions
Method, field-render-label-p: Private generic functions
Method, field-render-label-p: Private generic functions
Method, field-required-message: Private generic functions
Method, field-required-p: Private generic functions
Method, field-required-p: Private generic functions
Method, field-subform: Private generic functions
Method, field-subform-builder: Private generic functions
Method, field-subform-name: Private generic functions
Method, field-test: Private generic functions
Method, field-trim-p: Private generic functions
Method, field-valid-p: Public generic functions
Method, field-validation-triggers: Private generic functions
Method, field-value: Public generic functions
Method, field-value: Public generic functions
Method, field-widget: Private generic functions
Method, field-widget: Private generic functions
Method, field-writer: Public generic functions
Method, file-accept: Private generic functions
Method, file-content-type: Private generic functions
Method, file-name: Private generic functions
Method, file-path: Private generic functions
Method, form-action: Private generic functions
Method, form-csrf-field-name: Private generic functions
Method, form-csrf-protection-p: Private generic functions
Method, form-enctype: Private generic functions
Method, form-errors: Public generic functions
Method, form-fields: Public generic functions
Method, form-id: Private generic functions
Method, form-method: Private generic functions
Method, form-model: Private generic functions
Method, form-name: Private generic functions
Method, form-session-csrf-entry: Private generic functions
Method, format-field-value: Public generic functions
Method, format-field-value: Public generic functions
Method, format-field-value: Public generic functions
Method, format-field-value: Public generic functions
Method, format-field-value: Public generic functions
Method, get-form-session-csrf-token: Private generic functions
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, list-field-type: Private generic functions
Method, make-csrf-token: Private generic functions
Method, make-form-field: Private generic functions
Method, make-form-field: Private generic functions
Method, make-form-field: Private generic functions
Method, make-form-field: Private generic functions
Method, make-form-field: Private generic functions
Method, make-form-field: Private generic functions
Method, make-form-field: Private generic functions
Method, make-form-field: Private generic functions
Method, make-form-field: Private generic functions
Method, make-form-field: Private generic functions
Method, make-form-field: Private generic functions
Method, make-form-field: Private generic functions
Method, make-form-field: Private generic functions
Method, make-form-field: Private generic functions
Method, make-form-field: Private generic functions
Method, make-form-field: Private generic functions
Method, make-form-field: Private generic functions
Method, make-form-field: Private generic functions
Method, make-form-field: Private generic functions
Method, make-form-field: Private generic functions
Method, make-form-field: Private generic functions
Method, make-form-field: Private generic functions
Method, multiple-p: Private generic functions
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, remove-button-p: Private generic functions
Method, renderer-render-field-errors: Private generic functions
Method, renderer-render-field-widget: Private generic functions
Method, renderer-render-form-errors: Private generic functions
Method, request-post-parameters: Private generic functions
Method, set-form-session-csrf-token: Private generic functions
Method, subform-builder: Private generic functions
Method, upload-handler: Private generic functions
Method, use-key-as-value: Private generic functions
Method, validate-form-field: Private generic functions
Method, validate-form-field: Private generic functions
Method, validate-form-field: Private generic functions
Method, validate-form-field: Private generic functions
Method, validate-form-field: Private generic functions
Method, validate-form-field: Private generic functions
Method, validate-form-field: Private generic functions
Method, validate-form-field: Private generic functions
Method, validate-form-field: Private generic functions
Method, validator-field: Private generic functions
multiple-p: Private generic functions
multiple-p: Private generic functions

P
post-parameters: Private ordinary functions
print-object: Public standalone methods
print-object: Public standalone methods

R
remove-button-p: Private generic functions
remove-button-p: Private generic functions
remove-field: Public ordinary functions
render-field: Public ordinary functions
render-field-errors: Public ordinary functions
render-field-label: Public ordinary functions
render-field-request-name: Private ordinary functions
render-field-widget: Public ordinary functions
render-form: Public ordinary functions
render-form-end: Public ordinary functions
render-form-errors: Public ordinary functions
render-form-start: Public ordinary functions
renderer-render-field: Private generic functions
renderer-render-field-errors: Private generic functions
renderer-render-field-errors: Private generic functions
renderer-render-field-label: Private generic functions
renderer-render-field-widget: Private generic functions
renderer-render-field-widget: Private generic functions
renderer-render-form: Private generic functions
renderer-render-form-end: Private generic functions
renderer-render-form-errors: Private generic functions
renderer-render-form-errors: Private generic functions
renderer-render-form-start: Private generic functions
request-post-parameters: Private generic functions
request-post-parameters: Private generic functions

S
set-field-value: Public ordinary functions
set-form-session-csrf-token: Private generic functions
set-form-session-csrf-token: Private generic functions
subform-builder: Private generic functions
subform-builder: Private generic functions

U
upload-handler: Private generic functions
upload-handler: Private generic functions
use-key-as-value: Private generic functions
use-key-as-value: Private generic functions

V
validate-form: Public ordinary functions
validate-form-field: Private generic functions
validate-form-field: Private generic functions
validate-form-field: Private generic functions
validate-form-field: Private generic functions
validate-form-field: Private generic functions
validate-form-field: Private generic functions
validate-form-field: Private generic functions
validate-form-field: Private generic functions
validate-form-field: Private generic functions
validate-form-field: Private generic functions
validator-field: Private generic functions
validator-field: Private generic functions

W
with-form: Public macros
with-form-field-values: Public macros
with-form-fields: Public macros
with-form-renderer: Public macros
with-form-template: Public macros
with-form-theme: Public macros


A.3 Variables

Jump to:   *   +  
A   C   D   E   F   H   I   K   L   M   N   P   R   S   T   U   V   W  
Index Entry  Section

*
*base64-encode*: Public special variables
*default-form-renderer*: Private special variables
*field-path*: Private special variables
*field-required-message*: Private special variables
*form*: Private special variables
*form-renderer*: Private special variables
*form-theme*: Private special variables

+
+default-date-format+: Private special variables
+default-datetime-format+: Private special variables

A
accept: Public classes
accessor: Public classes
action: Public classes
add-button: Public classes

C
choices: Public classes
client-validation: Public classes
constraints: Public classes
content-type: Public classes
csrf-field-name: Public classes
csrf-protection: Public classes

D
date-format: Public classes
date-format: Private classes
date-max: Public classes
date-min: Public classes
datetime-format: Public classes
datetime-format: Private classes
datetime-max: Public classes
datetime-min: Public classes
default-value: Public classes
disabled: Public classes
display-errors: Public classes
download-link: Private classes

E
empty-item-predicate: Public classes
enctype: Public classes
errors: Public classes
expanded: Public classes

F
field: Private classes
fields: Public classes
file-name: Public classes
form: Public classes
formatter: Public classes

H
hash-function: Public classes
help-text: Public classes

I
id: Public classes
invalid-message: Public classes

K
key-reader: Public classes

L
label: Public classes

M
method: Public classes
model: Public classes
multiple: Public classes
multiple: Public classes

N
name: Public classes
name: Public classes

P
parser: Public classes
path: Public classes
placeholder: Public classes
preferred-choices: Public classes

R
read-only: Public classes
reader: Public classes
remove-button: Public classes
required: Public classes
required-message: Public classes

S
Slot, accept: Public classes
Slot, accessor: Public classes
Slot, action: Public classes
Slot, add-button: Public classes
Slot, choices: Public classes
Slot, client-validation: Public classes
Slot, constraints: Public classes
Slot, content-type: Public classes
Slot, csrf-field-name: Public classes
Slot, csrf-protection: Public classes
Slot, date-format: Public classes
Slot, date-format: Private classes
Slot, date-max: Public classes
Slot, date-min: Public classes
Slot, datetime-format: Public classes
Slot, datetime-format: Private classes
Slot, datetime-max: Public classes
Slot, datetime-min: Public classes
Slot, default-value: Public classes
Slot, disabled: Public classes
Slot, display-errors: Public classes
Slot, download-link: Private classes
Slot, empty-item-predicate: Public classes
Slot, enctype: Public classes
Slot, errors: Public classes
Slot, expanded: Public classes
Slot, field: Private classes
Slot, fields: Public classes
Slot, file-name: Public classes
Slot, form: Public classes
Slot, formatter: Public classes
Slot, hash-function: Public classes
Slot, help-text: Public classes
Slot, id: Public classes
Slot, invalid-message: Public classes
Slot, key-reader: Public classes
Slot, label: Public classes
Slot, method: Public classes
Slot, model: Public classes
Slot, multiple: Public classes
Slot, multiple: Public classes
Slot, name: Public classes
Slot, name: Public classes
Slot, parser: Public classes
Slot, path: Public classes
Slot, placeholder: Public classes
Slot, preferred-choices: Public classes
Slot, read-only: Public classes
Slot, reader: Public classes
Slot, remove-button: Public classes
Slot, required: Public classes
Slot, required-message: Public classes
Slot, subform: Public classes
Slot, subform-builder: Public classes
Slot, test: Public classes
Slot, trim: Public classes
Slot, type: Public classes
Slot, upload-handler: Public classes
Slot, use-key-as-value: Public classes
Slot, validation-triggers: Public classes
Slot, value: Public classes
Slot, widget: Public classes
Slot, widget: Public classes
Slot, writer: Public classes
Special Variable, *base64-encode*: Public special variables
Special Variable, *default-form-renderer*: Private special variables
Special Variable, *field-path*: Private special variables
Special Variable, *field-required-message*: Private special variables
Special Variable, *form*: Private special variables
Special Variable, *form-renderer*: Private special variables
Special Variable, *form-theme*: Private special variables
Special Variable, +default-date-format+: Private special variables
Special Variable, +default-datetime-format+: Private special variables
subform: Public classes
subform-builder: Public classes

T
test: Public classes
trim: Public classes
type: Public classes

U
upload-handler: Public classes
use-key-as-value: Public classes

V
validation-triggers: Public classes
value: Public classes

W
widget: Public classes
widget: Public classes
writer: Public classes


A.4 Data types

Jump to:   B   C   D   E   F   H   I   L   M   P   R   S   T   U  
Index Entry  Section

B
boolean-form-field: Public classes
boolean.lisp: The cl-forms/src/fields/boolean․lisp file

C
choice-field-validator: Private classes
choice-form-field: Public classes
choice.lisp: The cl-forms/src/fields/choice․lisp file
cl-forms: The cl-forms system
cl-forms: The cl-forms package
cl-forms.asd: The cl-forms/cl-forms․asd file
cl-forms.lisp: The cl-forms/src/cl-forms․lisp file
Class, boolean-form-field: Public classes
Class, choice-field-validator: Private classes
Class, choice-form-field: Public classes
Class, date-form-field: Public classes
Class, date-validator: Private classes
Class, datetime-form-field: Public classes
Class, datetime-validator: Private classes
Class, default-form-theme: Private classes
Class, email-form-field: Public classes
Class, field-validator: Private classes
Class, file-form-field: Public classes
Class, form: Public classes
Class, form-field: Public classes
Class, form-theme: Private classes
Class, hidden-form-field: Public classes
Class, integer-form-field: Public classes
Class, list-form-field: Public classes
Class, password-form-field: Public classes
Class, stateful-file-field: Private classes
Class, string-choice-form-field: Private classes
Class, string-form-field: Public classes
Class, subform-form-field: Public classes
Class, submit-form-field: Public classes
Class, text-form-field: Public classes
Class, url-form-field: Public classes

D
date-form-field: Public classes
date-validator: Private classes
date.lisp: The cl-forms/src/fields/date․lisp file
datetime-form-field: Public classes
datetime-validator: Private classes
datetime.lisp: The cl-forms/src/fields/datetime․lisp file
default-form-theme: Private classes
default.lisp: The cl-forms/src/themes/default․lisp file

E
email-form-field: Public classes
email.lisp: The cl-forms/src/fields/email․lisp file

F
field-validator: Private classes
fields: The cl-forms/src/fields module
File, boolean.lisp: The cl-forms/src/fields/boolean․lisp file
File, choice.lisp: The cl-forms/src/fields/choice․lisp file
File, cl-forms.asd: The cl-forms/cl-forms․asd file
File, cl-forms.lisp: The cl-forms/src/cl-forms․lisp file
File, date.lisp: The cl-forms/src/fields/date․lisp file
File, datetime.lisp: The cl-forms/src/fields/datetime․lisp file
File, default.lisp: The cl-forms/src/themes/default․lisp file
File, email.lisp: The cl-forms/src/fields/email․lisp file
File, file.lisp: The cl-forms/src/fields/file․lisp file
File, hidden.lisp: The cl-forms/src/fields/hidden․lisp file
File, integer.lisp: The cl-forms/src/fields/integer․lisp file
File, list.lisp: The cl-forms/src/fields/list․lisp file
File, package.lisp: The cl-forms/src/package․lisp file
File, password.lisp: The cl-forms/src/fields/password․lisp file
File, request.lisp: The cl-forms/src/request․lisp file
File, specials.lisp: The cl-forms/src/themes/specials․lisp file
File, string.lisp: The cl-forms/src/fields/string․lisp file
File, subform.lisp: The cl-forms/src/fields/subform․lisp file
File, submit.lisp: The cl-forms/src/fields/submit․lisp file
File, theme.lisp: The cl-forms/src/themes/theme․lisp file
File, url.lisp: The cl-forms/src/fields/url․lisp file
file-form-field: Public classes
file.lisp: The cl-forms/src/fields/file․lisp file
form: Public classes
form-field: Public classes
form-theme: Private classes

H
hidden-form-field: Public classes
hidden.lisp: The cl-forms/src/fields/hidden․lisp file

I
integer-form-field: Public classes
integer.lisp: The cl-forms/src/fields/integer․lisp file

L
list-form-field: Public classes
list.lisp: The cl-forms/src/fields/list․lisp file

M
Module, fields: The cl-forms/src/fields module
Module, src: The cl-forms/src module
Module, themes: The cl-forms/src/themes module

P
Package, cl-forms: The cl-forms package
package.lisp: The cl-forms/src/package․lisp file
password-form-field: Public classes
password.lisp: The cl-forms/src/fields/password․lisp file

R
request.lisp: The cl-forms/src/request․lisp file

S
specials.lisp: The cl-forms/src/themes/specials․lisp file
src: The cl-forms/src module
stateful-file-field: Private classes
string-choice-form-field: Private classes
string-form-field: Public classes
string.lisp: The cl-forms/src/fields/string․lisp file
subform-form-field: Public classes
subform.lisp: The cl-forms/src/fields/subform․lisp file
submit-form-field: Public classes
submit.lisp: The cl-forms/src/fields/submit․lisp file
System, cl-forms: The cl-forms system

T
text-form-field: Public classes
theme.lisp: The cl-forms/src/themes/theme․lisp file
themes: The cl-forms/src/themes module

U
url-form-field: Public classes
url.lisp: The cl-forms/src/fields/url․lisp file