yesod-form

Form handling support for Yesod Web Framework

http://www.yesodweb.com/

Version on this page:1.6.1
LTS Haskell 22.14:1.7.6
Stackage Nightly 2024-03-28:1.7.6
Latest on Hackage:1.7.6

See all snapshots yesod-form appears in

MIT licensed and maintained by Michael Snoyman
This version can be pinned in stack with:yesod-form-1.6.1@sha256:41ef859817e05aad8460fbd6d0b362648767519a085466e229e0a6e8d8739aa8,3432

Module documentation for 1.6.1

  • Yesod
    • Yesod.Form
      • Yesod.Form.Bootstrap3
      • Yesod.Form.Fields
      • Yesod.Form.Functions
      • Yesod.Form.I18n
        • Yesod.Form.I18n.Chinese
        • Yesod.Form.I18n.Czech
        • Yesod.Form.I18n.Dutch
        • Yesod.Form.I18n.English
        • Yesod.Form.I18n.French
        • Yesod.Form.I18n.German
        • Yesod.Form.I18n.Japanese
        • Yesod.Form.I18n.Korean
        • Yesod.Form.I18n.Norwegian
        • Yesod.Form.I18n.Portuguese
        • Yesod.Form.I18n.Russian
        • Yesod.Form.I18n.Spanish
        • Yesod.Form.I18n.Swedish
      • Yesod.Form.Input
      • Yesod.Form.Jquery
      • Yesod.Form.MassInput
      • Yesod.Form.Nic
      • Yesod.Form.Types

yesod-form

Form handling for Yesod, in the same style as formlets. See the forms chapter of the Yesod book.

This package provies a set of basic form inputs such as text, number, time, checkbox, select, textarea, and etc. via Yesod.Form.Fields module. Also, there is Yesod.Form.Nic module providing richtext field using Nic editor. However, this module is grandfathered now and Nic editor is not actively maintained since June 2012. You can find additional richtext editor fields in yesod-form-richtext package (currently in provides support of Summernote editor only).

Changes

1.6.1

  • Explicitly define (<>) in the Semigroup instance for Enctype

1.6.0

  • Upgrade to yesod-core 1.6.0

1.4.16

  • Korean translation

1.4.15

  • Added Alternative instance to FormResult to simplify handling pages with multiple forms.

1.4.14

  • Added WForm to reduce the verbosity using monadic forms.
  • Added wreq and wopt correspondent functions for WForm.

1.4.13

  • Fixed textareaField writeHtmlEscapedChar trim “\r”

1.4.12

  • Password field does not remember its previous value

1.4.11

  • Fix warnings
  • Fixed spelling errors and wording for Yesod.Form.Functions.convertField’s documentation

1.4.10

  • Fixed identifyForm to properly return FormMissing for empty forms. #1072

1.4.9

  • Added a ToValue instance for Enctype #1296

1.4.8

  • Added Yesod.Form.I18n.Spanish

1.4.6

  • Functor instances for Option/OptionList

1.4.5

  • Foldable/Traversable instances for FormResult #1089

1.4.4.1

  • runFormPost has wrong behavior for empty forms #950

1.4.4

  • Add a Semigroup instance

1.4.3

Added jqueryDatePickerDayField.

1.4.2.1

Documentation updates

1.4.2

Added timeFieldTypeTime and timeFieldTypeText, and deprecated timeField itself.