CrossClj
full-text documentation search

Project count:
9877

Last update
Jun 16, 2018

How to be listed

Artifact list

Clojurescript

Feedback

RECENT
    Less more depended upon.
    Full-text search for function, var, namespace, project documentation and descriptions for Clojure open-source projects.
    Query syntax supports boolean modifiers (+word, -word), wildcards (* and ?, except for the first character of a word), and phrases ("word1 word2").
    To search for identifiers, use the name search.
    Found 28 results in 22 projects.
    hyjinks 0.0.3
    Hyjinks - An HTML generation/templating library
    hyjinks.core/textareaSourceDoc + Usages
    The <textarea></textarea> tag.

    re-view-routing 0.1.3
    ClojureScript routing tools
    re-view.core/focus (cljs)SourceDoc + Usages
    Focus the first input|textarea in a component

    clj-element-type 0.1.4
    Clojure library with help fuctions for working with element type
    com.edocu.elements.type.protocols/text-area-attributesSourceDoc + Usages
    Return channel with set of textarea attributes

    reforms 0.4.3
    Form helpers for React-based Clojurescript libraries.
    reforms.validation/textarea (cljs)SourceDoc + Usages
    Wrapper for [[reforms.core/textarea]] adding support for validation.

    komponentit 0.3.5
    Collection of bespoke Reagent components
    komponentit.autosize/size-style-props (cljs)SourceDoc + Usages
    List of style properties which affect the size of textarea

    helpmate 0.1.4
    A Clojure/clojurescript library for templating/emitting SGML (HTML,SVG,XML) fragments.
    helpmate.html/textareaSourceDoc + Usages
    The HTML <textarea> element represents a multi-line plain-text editing
      control. A textarea has intrinsic dimensions, like a raster image. Example:
    
        <textarea name="textarea" rows="10" cols="50">
          Write something here
       </textarea>

    komponentit 0.3.5
    Collection of bespoke Reagent components
    komponentit.autosize/textarea (cljs)SourceDoc + Usages
    Calculate height of the textarea based on the text contents.
    
      Content height is calculated using separate hidden textarea. This
      textarea is not managed by React and is placed outside of this
      component, for easier styling.

    s-html 1.0.2
    A library of composable HTML generators.
    s-html.tags.html/textareaSourceDoc + Usages
    Creates a `textarea` tag. Accepts the same arguments as [[tag]] except `name`.

    etaoin 0.2.8
    Pure Clojure Webdriver protocol implementation.
    etaoin.api/clearSourceDoc + Usages
    Clears an element (input, textarea) found with a query.
    
      0.1.6: multiple queries added.

    george-application 2018.4
    George - Application
    george.application.code/set-fileSourceDoc + Usages
    sets file-meta, sets file-label, reads data into textarea

    reforms 0.4.3
    Form helpers for React-based Clojurescript libraries.
    reforms.core/textarea (cljs)SourceDoc + Usages
    Textarea element. See http://getbootstrap.com/css/#textarea
    
       Arguments:
    
       [attrs] [label] cursor korks [opts]
    
       - attrs                 - (optional) attributes handed over to React (see https://github.com/r0man/sablono#html-attributes)
       - label                 - (optional) the label; a string or Hiccup/Sablono style template
       - cursor, korks         - data to bind to
       - opts                  - see [[html5-input]]
    
    
       Examples:
    
           (f/textarea "Textarea" "A placeholder" data [:some-text])
           (f/textarea {:rows 8} "Textarea" "A placeholder" data [:some-text] :inline true)

    reagent-reforms 0.4.3
    Reforms bindings for Reagent.
    reforms.reagent/textarea (cljs)SourceDoc + Usages
    Textarea element. See http://getbootstrap.com/css/#textarea
    
       Arguments:
    
       [attrs] [label] cursor korks [opts]
    
       - attrs                 - (optional) attributes handed over to React (see https://github.com/r0man/sablono#html-attributes)
       - label                 - (optional) the label; a string or Hiccup/Sablono style template
       - cursor, korks         - data to bind to
       - opts                  - see [[html5-input]]
    
    
       Examples:
    
           (f/textarea "Textarea" "A placeholder" data [:some-text])
           (f/textarea {:rows 8} "Textarea" "A placeholder" data [:some-text] :inline true)

    rum-reforms 0.4.3
    Reforms bindings for Rum.
    reforms.rum/textarea (cljs)SourceDoc + Usages
    Textarea element. See http://getbootstrap.com/css/#textarea
    
       Arguments:
    
       [attrs] [label] cursor korks [opts]
    
       - attrs                 - (optional) attributes handed over to React (see https://github.com/r0man/sablono#html-attributes)
       - label                 - (optional) the label; a string or Hiccup/Sablono style template
       - cursor, korks         - data to bind to
       - opts                  - see [[html5-input]]
    
    
       Examples:
    
           (f/textarea "Textarea" "A placeholder" data [:some-text])
           (f/textarea {:rows 8} "Textarea" "A placeholder" data [:some-text] :inline true)

    semantic-ui-react-wrappers 2.0.0
    Semantic UI React Wrappers
    fulcrologic.semantic-ui.factories/ui-text-area (cljs)SourceDoc + Usages
    A TextArea can be used to allow for extended user input.
    
    Props:
      - as (custom): An element type to render as (string or function).
      - autoHeight (bool): Indicates whether height of the textarea fits the content or not.
      - onChange (func): Called on change.
      - onInput (func): Called on input.
      - rows (number|string): Indicates row count for a TextArea. ()
      - style (object): Custom TextArea style.
      - value (number|string): The value of the textarea. ()

    hiccup-bootstrap-elements 3.1.1
    Common Bootstrap 3 Elements for Hiccup
    hiccup.bootstrap3.forms/textareaSourceDoc + Usages
    Create a textarea input with the name, label, value, and optionally
      a map of attributes to be applied to the input.
    
      Eg: (textarea "comments" "Comments" "" {:rows 80})
          will produce a textare input with 80 rows.

    functional-vaadin 0.2.2
    A functional interface to Vaadin
    functional-vaadin.core/text-areaSourceDoc + Usages
    Usage: (text-area ctor_args? config_map?)
    
      Create a TextArea component from constructor arguments or a configuration Map.

    semantic-ui-react-wrappers 2.0.0
    Semantic UI React Wrappers
    fulcrologic.semantic-ui.factories/ui-form-text-area (cljs)SourceDoc + Usages
    Sugar for <Form.Field control={TextArea} />.
    
    Props:
      - as (custom): An element type to render as (string or function).
      - control (custom): A FormField control prop.

    tie 0.2.0
    A set of data-bound form controls for reagent
    tie.core/textarea (cljs)SourceDoc + Usages
    A data-bound textarea (multiline textbox).
    
      It takes a single map of properties.
        `:atom` is required and is an atom that the control is data-bound to
        Extra properties are passed to the underlying input control
    
      Note that empty strings will be converted to `nil` and vice-versa.
    
      Example:
        [t/textarea {:atom my-atom}]

    fulcro 2.5.9
    A library for building full-stack SPA webapps in Clojure and Clojurescript
    fulcro.ui.forms/textarea-inputSourceDoc + Usages
    Declare a text area on a form. See text-input for additional options.
    
      When rendering a text input, the params passed to the field render will be merged
      with the textarea HTML props.

    untangled 1.0.0-beta1
    A library for building full-stack SPA webapps in Clojure and Clojurescript
    untangled.ui.forms/textarea-inputSourceDoc + Usages
    Declare a text area on a form. See text-input for additional options.
    
      When rendering a text input, the params passed to the field render will be merged
      with the textarea HTML props.

    untangled-ui 1.0.0-alpha5
    Untangled Components is a library of pre-built CSS and active components for use
    untangled.ui.forms/textarea-inputSourceDoc + Usages
    Declare a text area on a form. See text-input for additional options.
    
      When rendering a text input, the params passed to the field render will be merged
      with the textarea HTML props.

    untangled-components 1.0.0
    Untangled Components is a library of pre-built CSS and active components for use
    untangled.ui.forms/textarea-inputSourceDoc + Usages
    Declare a text area on a form. See text-input for additional options.
    
      When rendering a text input, the params passed to the field render will be merged
      with the textarea HTML props.

    taxi-toolkit 0.3.3
    A Clojure library designed to help with writing integration tests using clj-webdriver.
    io.aviso.taxi-toolkit.ui/fill-formSourceDoc + Usages
    Fill a form. Accepts a map of 'element - value' pairs.
    
      Also, waits until the element is enabled using clj-webdriver.taxi/wait-until.
    
      Will invoke an appropriate function depending on the element charactericts:
       - select - select-option,
       - input[type=checkbox] or input[type=radio]- select/deselect, otherwise
       - input/textarea - clear and input-text
    
      Takes either a vector [el value] pairs (or a map which would behave as such collection when applied to doseq)
      or an even number of key-value pairs if we want to preserve the order.

    untangled-ui 1.0.0-alpha5
    Untangled Components is a library of pre-built CSS and active components for use
    untangled.ui.elements/ui-fieldSourceDoc + Usages
    Render an input or textarea field. Normal HTML/React attributes can be included, and should be a cljs map (not a js object).
    
      `:id` string - Unique DOM ID. Required for correct rendering.
      `:kind` :single-line (default), :multi-line, :full-width
      `:size` :regular (default), :dense, :large
      `:state` :valid (default) or :invalid
      `:label` string - A title for the input to describe it.
      `:helper` string - Text that helps instruct the user under the input.
      

    untangled-components 1.0.0
    Untangled Components is a library of pre-built CSS and active components for use
    untangled.ui.elements/ui-fieldSourceDoc + Usages
    Render an input or textarea field. Normal HTML/React attributes can be included, and should be a cljs map (not a js object).
    
      `:id` string - Unique DOM ID. Required for correct rendering.
      `:kind` :single-line (default), :multi-line, :full-width
      `:size` :regular (default), :dense, :large
      `:state` :valid (default) or :invalid
      `:label` string - A title for the input to describe it.
      `:helper` string - Text that helps instruct the user under the input.
      

    formative 0.8.10-rc
    Web forms - rendering, parsing, and validating
    formative.core/render-formSourceDoc + Usages
    Given a form specification, returns a rendering of the form - e.g., Hiccup
      data, an HTML string, etc.
    
      Valid keys for spec include the following HTML form attributes:
    
          :action :method :enctype :accept :name :id :class
          :onsubmit :onreset :accept-charset :autofill :novalidate
          :autocomplete
    
      Unlike an HTML form, :method defaults to :post. If method is something other
      than :get or :post, a hidden field with name "_method" will be added, and
      the form method set to :post. If you are using Compojure for routing, it will
      recognize the "_method" field.
    
      The following special keys are also supported:
    
          :renderer     - Determines renderer to use. Built-in options:
                            :bootstrap-horizontal (the default)
                            :bootstrap-stacked
                            :bootstrap3-stacked
                            :table
                            :inline
                          Custom renderers can be created by implementing the
                          formative.render/render-form multimethod.
          :fields       - Sequence of form field specifications. See below.
          :values       - Map of values used to populate the form fields, or a
                          form-data-encoded string
          :submit-label - Label to use on the submit button. Defaults to "Submit"
          :cancel-label - Label to use on the cancel button. Defaults to "Cancel"
          :cancel-href  - When provided, shows a "Cancel" hyperlink next to the
                          submit button
          :validations  - A sequence of validation specifications
          :validator    - A function to call to validate parsed values for this
                          form. The function should take a map of values and return
                          a sequence of problem maps for each field that failed to
                          validate. The problem map should contain the keys :keys
                          and :msg.
          :validate-types - Whether to validate datatypes; true by default.
          :blank-nil    - When values are parsed, replace blank strings with nil
          :problems     - Sequence of field names or problem maps. Form
                          renderers typically add a class and style to highlight
                          problem fields and, if problem maps are provided,
                          show descriptive messages.
          :timezone     - String of timezone with which to localize the display of
                          :datetime-select fields. The default is UTC. JVM only.
    
      A field specification is a map with the following keys:
    
          :name         - Required name of the field, a keyword or string. Use
                          dotted keywords like :foo.bar to represent fields that
                          will parse as nested map values.
          :label        - Optional display name. Auto-generated from :name if not
                          provided
          :type         - Type of the field. Defaults to :text. See below for
                          built-in types. If an unrecognized type is provided,
                          an <input> element with that type will be assumed.
                          Certain types imply particular parsing or validation
                          rules - e.g., an :email field must be a valid email.
          :datatype     - Optional. Datatype of the field used for parsing. Can be
                          one of:
    
                          :str, :int, :long, :boolean, :float, :double, :decimal,
                          :bigint, :date, :time, :instant, :file.
    
                          Defaults to :str.
    
                          All types can be appended with an "s" when a sequence
                          is expected - e.g., :ints for a sequence of integers. This
                          is useful for fields that have composite values, such as
                          :checkboxes.
    
                          :date field values are expected to be in yyyy-MM-dd
                          format by default. Set :date-format to change that. :time
                          fields may be in H:m or H:m:s format. :instant fields
                          are in EDN instant (RFC-3339) format.
    
                          All date/time fields are parsed into java.util.Date
                          or java.sql.Time (or Date for ClojureScript) objects
                          created using the UTC timezone.
          :datatype-error - Optional custom error message to use if datatype
                          validation fails.
          :blank-nil    - When the value is parsed, replace a blank string with nil
          :flatten      - If a value parses to a map (e.g. for :compound fields),
                          adds each key of the map to the top level values map,
                          prefixed with the field name and a dash.
          :note         - A bit of explanatory content to accompany the field
          :prefix       - Content to insert before a field
          :suffix       - Content to insert after a field
    
      Built-in field types:
    
          :text         - Single-line text input
          :textarea     - Multi-line text input
          :select       - Dropdown. Special keys:
                            :options - options to display; see below for format
                            :placeholder - text for a first, disabled option
                            :first-option - option to prepend to the other options
        :checkbox     - Defaults to true/false when no :value is given. Special
                        keys:
                          :value - value of a checked input (default true)
                          :unchecked-value - value of an unchecked input (default
                            false)
        :checkboxes   - Multiple checkboxes that parse to a collection of values.
                        Special keys:
                          :options - options to display; see below for format
                          :cols - number of columns to group checkboxes into
        :radios       - Multiple radio inputs that parse to a single value.
                        Special keys:
                          :options - options to display; see below for format
        :email        - Email text input
        :us-state     - United States state dropdown. Accepts :select special
                        keys.
        :us-zip       - United States ZIP code
        :ca-state     - Canadian province
        :country      - Country dropdown. Accepts :select special keys.
        :date-select  - Date dropdown. Renders as multiple :select fields, parses
                        as a UTC java.util.Date (or Date for ClojureScript).
                        Accepts Joda dates as values.
                        Special keys:
                          :year-start
                          :year-end
        :year-select  - Year dropdown, parses to integer. Accepts :select special
                        keys plus:
                          :start
                          :end
        :month-select - Month dropdown, parses to integer (1-12). Accepts :select
                        special keys plus:
                          :numbers - when true, shows numbers instead of month
                                     names
        :time-select  - Time dropdown. Renders as multiple :select fields, parses
                        as a UTC java.sql.Time (or Date for ClojureScript).
                        Accepts Joda times as values.
                        Special keys:
                          :compact - true to use a single dropdown (default false)
                          :ampm - true to use am/pm (the default); false to use
                                  24-hour format
                          :step - step between minutes/seconds; default 5
                          :seconds - whether to include a seconds field
                          :start - when :compact is true, start time
                          :end - when :compact is true, end time (inclusive)
        :datetime-select - Combined date/time dropdown. Parses as a UTC
                        java.util.Date (or Date for ClojureScript). Accepts Joda
                        date values. See :date-select and :time-select for special
                        keys, plus:
                          :timezone - String of timezone with which to localize the
                                      display. The default is UTC. JVM only.
        :currency     - Text input for money. Parses as a :decimal datatype
        :file         - File upload input. Special keys:
                          :upload-handler - optional handler called when a file is
                            uploaded. The field's specification and Ring param
                            value are passed as arguments to the handler. The
                            handler can return whatever value is appropriate
                            (e.g., a String or a File).
        :compound     - Multiple fields displayed and parsed as one field. Special
                        keys:
                          :separator - string or Hiccup data; defaults to a space
                          :combiner - a function which takes a collection of the
                                      rendered fields and returns Hiccup data
                                      that represents the combined field; by
                                      default, fields are combined by interposing
                                      the separator
        :submit       - Submit button. Included by default, but can be added
                        explicitly if you prefer. Unlike with a default submit
                        button, its value will be parsed.
    
      The :options key for :select and other types accepts a collection of any
      of the following formats:
    
        ["value" "label" sub-options]
        {:value "value" :label "label" :options sub-options}
        "value and label"
    
      If sub-options are provided, the element is rendered as a group (e.g.,
      optgroup for :select fields).
    
      The :options value can also be a function of no arguments or a Delay object --
      either of which must yield a collection in one of the above formats.
    
      The following presentational types are also available. They are excluded from
      parsing.
    
        :heading      - Section heading. In the default renderer, acts as a fieldset
                        separator. Special keys:
                          :text - heading text
        :html         - Custom, unlabeled HTML. Special keys:
                          :html - HTML string or Hiccup data
        :labeled-html - Custom, labeled HTML. Special keys:
                          :html - HTML string or Hiccup data
    
      Field types are extensible with the `formative.render/render-field` and
      `formative.parse/parse-input` multimethods.

    formidable 0.1.10
    Web forms - rendering, parsing, and validating
    formidable.core/render-formSourceDoc + Usages
    Given a form specification, returns a rendering of the form - e.g., Hiccup
      data, an HTML string, etc.
    
      Valid keys for spec include the following HTML form attributes:
    
          :action :method :enctype :accept :name :id :class
          :onsubmit :onreset :accept-charset :autofill :novalidate
          :autocomplete
    
      Unlike an HTML form, :method defaults to :post. If method is something other
      than :get or :post, a hidden field with name "_method" will be added, and
      the form method set to :post. If you are using Compojure for routing, it will
      recognize the "_method" field.
    
      The following special keys are also supported:
    
          :renderer       - Determines renderer to use. Built-in options:
                              :bootstrap-horizontal (the default)
                              :bootstrap-stacked
                              :bootstrap3-stacked
                              :table
                              :inline
                            Custom renderers can be created by implementing the
                            formidable.render/render-form multimethod.
          :fields         - Sequence of form field specifications. See below.
          :values         - Map of values used to populate the form fields, or a
                            form-data-encoded string
          :submit-label   - Label to use on the submit button. Defaults to "Submit"
          :cancel-label   - Label to use on the cancel button. Defaults to "Cancel"
          :cancel-options - Label to use on the cancel button. Defaults to "Cancel"
          :cancel-href    - When provided, shows a "Cancel" hyperlink next to the
                            submit button
          :validations    - A sequence of validation specifications
          :validator      - A function to call to validate parsed values for this
                            form. The function should take a map of values and return
                            a sequence of problem maps for each field that failed to
                            validate. The problem map should contain the keys :keys
                            and :msg.
          :validate-types - Whether to validate datatypes; true by default.
          :blank-nil      - When values are parsed, replace blank strings with nil
          :problems       - Sequence of field names or problem maps. Form
                            renderers typically add a class and style to highlight
                            problem fields and, if problem maps are provided,
                            show descriptive messages.
          :timezone       - String of timezone with which to localize the display of
                            :datetime-select fields. The default is UTC. JVM only.
    
      A field specification is a map with the following keys:
    
          :name           - Required name of the field, a keyword or string. Use
                            dotted keywords like :foo.bar to represent fields that
                            will parse as nested map values.
          :label          - Optional display name. Auto-generated from :name if not
                            provided
          :type           - Type of the field. Defaults to :text. See below for
                            built-in types. If an unrecognized type is provided,
                            an <input> element with that type will be assumed.
                            Certain types imply particular parsing or validation
                            rules - e.g., an :email field must be a valid email.
          :datatype       - Optional. Datatype of the field used for parsing. Can be
                            one of:
    
                            :str, :int, :long, :boolean, :float, :double, :decimal,
                            :bigint, :date, :time, :instant, :file.
    
                            Defaults to :str.
    
                            All types can be appended with an "s" when a sequence
                            is expected - e.g., :ints for a sequence of integers. This
                            is useful for fields that have composite values, such as
                            :checkboxes.
    
                            :date field values are expected to be in yyyy-MM-dd
                            format by default. Set :date-format to change that. :time
                            fields may be in H:m or H:m:s format. :instant fields
                            are in EDN instant (RFC-3339) format.
    
                            All date/time fields are parsed into java.util.Date
                            or java.sql.Time (or Date for ClojureScript) objects
                            created using the UTC timezone.
          :datatype-error - Optional custom error message to use if datatype
                            validation fails.
          :blank-nil      - When the value is parsed, replace a blank string with nil
          :flatten        - If a value parses to a map (e.g. for :compound fields),
                            adds each key of the map to the top level values map,
                            prefixed with the field name and a dash.
          :note           - A bit of explanatory content to accompany the field
          :prefix         - Content to insert before a field
          :suffix         - Content to insert after a field
    
      Built-in field types:
    
    	  :text         - Single-line text input
    	  :textarea     - Multi-line text input
    	  :select       - Dropdown. Special keys:
                            :options - options to display; see below for format
                            :placeholder - text for a first, disabled option
                            :first-option - option to prepend to the other options
        :checkbox     - Defaults to true/false when no :value is given. Special
                        keys:
                          :value - value of a checked input (default true)
                          :unchecked-value - value of an unchecked input (default
                            false)
        :checkboxes   - Multiple checkboxes that parse to a collection of values.
                        Special keys:
                          :options - options to display; see below for format
                          :cols - number of columns to group checkboxes into
        :radios       - Multiple radio inputs that parse to a single value.
                        Special keys:
                          :options - options to display; see below for format
        :email        - Email text input
        :us-state     - United States state dropdown. Accepts :select special
                        keys.
        :us-zip       - United States ZIP code
        :ca-state     - Canadian province
        :country      - Country dropdown. Accepts :select special keys.
        :date-select  - Date dropdown. Renders as multiple :select fields, parses
                        as a UTC java.util.Date (or Date for ClojureScript).
                        Accepts Joda dates as values.
                        Special keys:
                          :year-start
                          :year-end
        :year-select  - Year dropdown, parses to integer. Accepts :select special
                        keys plus:
                          :start
                          :end
        :month-select - Month dropdown, parses to integer (1-12). Accepts :select
                        special keys plus:
                          :numbers - when true, shows numbers instead of month
                                     names
        :time-select  - Time dropdown. Renders as multiple :select fields, parses
                        as a UTC java.sql.Time (or Date for ClojureScript).
                        Accepts Joda times as values.
                        Special keys:
                          :compact - true to use a single dropdown (default false)
                          :ampm - true to use am/pm (the default); false to use
                                  24-hour format
                          :step - step between minutes/seconds; default 5
                          :seconds - whether to include a seconds field
                          :start - when :compact is true, start time
                          :end - when :compact is true, end time (inclusive)
        :datetime-select - Combined date/time dropdown. Parses as a UTC
                        java.util.Date (or Date for ClojureScript). Accepts Joda
                        date values. See :date-select and :time-select for special
                        keys, plus:
                          :timezone - String of timezone with which to localize the
                                      display. The default is UTC. JVM only.
        :currency     - Text input for money. Parses as a :decimal datatype
        :file         - File upload input. Special keys:
                          :upload-handler - optional handler called when a file is
                            uploaded. The field's specification and Ring param
                            value are passed as arguments to the handler. The
                            handler can return whatever value is appropriate
                            (e.g., a String or a File).
        :compound     - Multiple fields displayed and parsed as one field. Special
                        keys:
                          :separator - string or Hiccup data; defaults to a space
                          :combiner - a function which takes a collection of the
                                      rendered fields and returns Hiccup data
                                      that represents the combined field; by
                                      default, fields are combined by interposing
                                      the separator
        :submit       - Submit button. Included by default, but can be added
                        explicitly if you prefer. Unlike with a default submit
                        button, its value will be parsed.
    
      The :options key for :select and other types accepts a collection of any
      of the following formats:
    
        ["value" "label" sub-options]
        {:value "value" :label "label" :options sub-options}
        "value and label"
    
      If sub-options are provided, the element is rendered as a group (e.g.,
      optgroup for :select fields).
    
      The :options value can also be a function of no arguments or a Delay object --
      either of which must yield a collection in one of the above formats.
    
      The following presentational types are also available. They are excluded from
      parsing.
    
        :heading      - Section heading. In the default renderer, acts as a fieldset
                        separator. Special keys:
                          :text - heading text
        :html         - Custom, unlabeled HTML. Special keys:
                          :html - HTML string or Hiccup data
        :labeled-html - Custom, labeled HTML. Special keys:
                          :html - HTML string or Hiccup data
    
      Field types are extensible with the `formidable.render/render-field` and
      `formidable.parse/parse-input` multimethods.

    formidable 0.1.10
    Web forms - rendering, parsing, and validating
    formidable.core/render-form (cljs)SourceDoc + Usages
    Given a form specification, returns a rendering of the form - e.g., Hiccup
      data, an HTML string, etc.
    
      Valid keys for spec include the following HTML form attributes:
    
          :action :method :enctype :accept :name :id :class
          :onsubmit :onreset :accept-charset :autofill :novalidate
          :autocomplete
    
      Unlike an HTML form, :method defaults to :post. If method is something other
      than :get or :post, a hidden field with name "_method" will be added, and
      the form method set to :post. If you are using Compojure for routing, it will
      recognize the "_method" field.
    
      The following special keys are also supported:
    
          :renderer       - Determines renderer to use. Built-in options:
                              :bootstrap-horizontal (the default)
                              :bootstrap-stacked
                              :bootstrap3-stacked
                              :table
                              :inline
                            Custom renderers can be created by implementing the
                            formidable.render/render-form multimethod.
          :fields         - Sequence of form field specifications. See below.
          :values         - Map of values used to populate the form fields, or a
                            form-data-encoded string
          :submit-label   - Label to use on the submit button. Defaults to "Submit"
          :cancel-label   - Label to use on the cancel button. Defaults to "Cancel"
          :cancel-options - Label to use on the cancel button. Defaults to "Cancel"
          :cancel-href    - When provided, shows a "Cancel" hyperlink next to the
                            submit button
          :validations    - A sequence of validation specifications
          :validator      - A function to call to validate parsed values for this
                            form. The function should take a map of values and return
                            a sequence of problem maps for each field that failed to
                            validate. The problem map should contain the keys :keys
                            and :msg.
          :validate-types - Whether to validate datatypes; true by default.
          :blank-nil      - When values are parsed, replace blank strings with nil
          :problems       - Sequence of field names or problem maps. Form
                            renderers typically add a class and style to highlight
                            problem fields and, if problem maps are provided,
                            show descriptive messages.
          :timezone       - String of timezone with which to localize the display of
                            :datetime-select fields. The default is UTC. JVM only.
    
      A field specification is a map with the following keys:
    
          :name           - Required name of the field, a keyword or string. Use
                            dotted keywords like :foo.bar to represent fields that
                            will parse as nested map values.
          :label          - Optional display name. Auto-generated from :name if not
                            provided
          :type           - Type of the field. Defaults to :text. See below for
                            built-in types. If an unrecognized type is provided,
                            an <input> element with that type will be assumed.
                            Certain types imply particular parsing or validation
                            rules - e.g., an :email field must be a valid email.
          :datatype       - Optional. Datatype of the field used for parsing. Can be
                            one of:
    
                            :str, :int, :long, :boolean, :float, :double, :decimal,
                            :bigint, :date, :time, :instant, :file.
    
                            Defaults to :str.
    
                            All types can be appended with an "s" when a sequence
                            is expected - e.g., :ints for a sequence of integers. This
                            is useful for fields that have composite values, such as
                            :checkboxes.
    
                            :date field values are expected to be in yyyy-MM-dd
                            format by default. Set :date-format to change that. :time
                            fields may be in H:m or H:m:s format. :instant fields
                            are in EDN instant (RFC-3339) format.
    
                            All date/time fields are parsed into java.util.Date
                            or java.sql.Time (or Date for ClojureScript) objects
                            created using the UTC timezone.
          :datatype-error - Optional custom error message to use if datatype
                            validation fails.
          :blank-nil      - When the value is parsed, replace a blank string with nil
          :flatten        - If a value parses to a map (e.g. for :compound fields),
                            adds each key of the map to the top level values map,
                            prefixed with the field name and a dash.
          :note           - A bit of explanatory content to accompany the field
          :prefix         - Content to insert before a field
          :suffix         - Content to insert after a field
    
      Built-in field types:
    
    	  :text         - Single-line text input
    	  :textarea     - Multi-line text input
    	  :select       - Dropdown. Special keys:
                            :options - options to display; see below for format
                            :placeholder - text for a first, disabled option
                            :first-option - option to prepend to the other options
        :checkbox     - Defaults to true/false when no :value is given. Special
                        keys:
                          :value - value of a checked input (default true)
                          :unchecked-value - value of an unchecked input (default
                            false)
        :checkboxes   - Multiple checkboxes that parse to a collection of values.
                        Special keys:
                          :options - options to display; see below for format
                          :cols - number of columns to group checkboxes into
        :radios       - Multiple radio inputs that parse to a single value.
                        Special keys:
                          :options - options to display; see below for format
        :email        - Email text input
        :us-state     - United States state dropdown. Accepts :select special
                        keys.
        :us-zip       - United States ZIP code
        :ca-state     - Canadian province
        :country      - Country dropdown. Accepts :select special keys.
        :date-select  - Date dropdown. Renders as multiple :select fields, parses
                        as a UTC java.util.Date (or Date for ClojureScript).
                        Accepts Joda dates as values.
                        Special keys:
                          :year-start
                          :year-end
        :year-select  - Year dropdown, parses to integer. Accepts :select special
                        keys plus:
                          :start
                          :end
        :month-select - Month dropdown, parses to integer (1-12). Accepts :select
                        special keys plus:
                          :numbers - when true, shows numbers instead of month
                                     names
        :time-select  - Time dropdown. Renders as multiple :select fields, parses
                        as a UTC java.sql.Time (or Date for ClojureScript).
                        Accepts Joda times as values.
                        Special keys:
                          :compact - true to use a single dropdown (default false)
                          :ampm - true to use am/pm (the default); false to use
                                  24-hour format
                          :step - step between minutes/seconds; default 5
                          :seconds - whether to include a seconds field
                          :start - when :compact is true, start time
                          :end - when :compact is true, end time (inclusive)
        :datetime-select - Combined date/time dropdown. Parses as a UTC
                        java.util.Date (or Date for ClojureScript). Accepts Joda
                        date values. See :date-select and :time-select for special
                        keys, plus:
                          :timezone - String of timezone with which to localize the
                                      display. The default is UTC. JVM only.
        :currency     - Text input for money. Parses as a :decimal datatype
        :file         - File upload input. Special keys:
                          :upload-handler - optional handler called when a file is
                            uploaded. The field's specification and Ring param
                            value are passed as arguments to the handler. The
                            handler can return whatever value is appropriate
                            (e.g., a String or a File).
        :compound     - Multiple fields displayed and parsed as one field. Special
                        keys:
                          :separator - string or Hiccup data; defaults to a space
                          :combiner - a function which takes a collection of the
                                      rendered fields and returns Hiccup data
                                      that represents the combined field; by
                                      default, fields are combined by interposing
                                      the separator
        :submit       - Submit button. Included by default, but can be added
                        explicitly if you prefer. Unlike with a default submit
                        button, its value will be parsed.
    
      The :options key for :select and other types accepts a collection of any
      of the following formats:
    
        ["value" "label" sub-options]
        {:value "value" :label "label" :options sub-options}
        "value and label"
    
      If sub-options are provided, the element is rendered as a group (e.g.,
      optgroup for :select fields).
    
      The :options value can also be a function of no arguments or a Delay object --
      either of which must yield a collection in one of the above formats.
    
      The following presentational types are also available. They are excluded from
      parsing.
    
        :heading      - Section heading. In the default renderer, acts as a fieldset
                        separator. Special keys:
                          :text - heading text
        :html         - Custom, unlabeled HTML. Special keys:
                          :html - HTML string or Hiccup data
        :labeled-html - Custom, labeled HTML. Special keys:
                          :html - HTML string or Hiccup data
    
      Field types are extensible with the `formidable.render/render-field` and
      `formidable.parse/parse-input` multimethods.