HTML::FormFu::Element::Block(3pm) User Contributed Perl Documentation HTML::FormFu::Element::Block(3pm)

HTML::FormFu::Element::Block - Block element

version 2.07

    ---
    elements:
      - type: Block
        elements:
          - type: Text
            name: foo
      - type: Block
        tag: span
        content: Whatever

Block element which may contain other elements.

Specifies which tag name should be used to render the block.

Default Value: 'div'

If "content" is set, it is used as the block's contents, and any attached elements are ignored.

Arguments: $string

If you don't want the content to be XML-escaped, use the "content_xml" method instead of "content".

Arguments: $localization_key

To set the content to a localized string, set "content_loc" to a key in your L10N file instead of using "content".

See "elements" in HTML::FormFu for details.

See "element" in HTML::FormFu for details.

See "deflators" in HTML::FormFu for details.

See "deflator" in HTML::FormFu for details.

See "filters" in HTML::FormFu for details.

See "filter" in HTML::FormFu for details.

See "constraints" in HTML::FormFu for details.

See "constraint" in HTML::FormFu for details.

See "inflators" in HTML::FormFu for details.

See "inflator" in HTML::FormFu for details.

See "validators" in HTML::FormFu for details.

See "validator" in HTML::FormFu for details.

See "transformers" in HTML::FormFu for details.

See "transformer" in HTML::FormFu for details.

See "auto_datalist_id" in HTML::FormFu for details.

See "auto_id" in HTML::FormFu for details.

Arguments: [$string]

If set, the Block will be given an auto-generated id attribute, if it doesn't have one already.

The following character substitution will be performed: %f will be replaced by $form->id, %r will be replaced by $block->repeatable_count.

Default Value: not defined

Unlike most other auto_* methods, this is not an 'inherited accessor'.

See "auto_label" in HTML::FormFu for details.

See "auto_error_field_class" in HTML::FormFu for details.

See "auto_error_class" in HTML::FormFu for details.

See "auto_error_message" in HTML::FormFu for details.

See "auto_constraint_class" in HTML::FormFu for details.

See "auto_inflator_class" in HTML::FormFu for details.

See "auto_validator_class" in HTML::FormFu for details.

See "auto_transformer_class" in HTML::FormFu for details.

See "default_args" in HTML::FormFu for details.

See "get_elements" in HTML::FormFu for details.

See "get_element" in HTML::FormFu for details.

See "get_all_elements" in HTML::FormFu for details.

See "get_fields" in HTML::FormFu for details.

See "get_field" in HTML::FormFu for details.

See "get_deflators" in HTML::FormFu for details.

See "get_deflator" in HTML::FormFu for details.

See "get_filters" in HTML::FormFu for details.

See "get_filter" in HTML::FormFu for details.

See "get_constraints" in HTML::FormFu for details.

See "get_constraint" in HTML::FormFu for details.

See "get_inflators" in HTML::FormFu for details.

See "get_inflator" in HTML::FormFu for details.

See "get_validators" in HTML::FormFu for details.

See "get_validator" in HTML::FormFu for details.

See "get_transformers" in HTML::FormFu for details.

See "get_transformer" in HTML::FormFu for details.

See "get_errors" in HTML::FormFu for details.

See "clear_errors" in HTML::FormFu for details.

Base-class for HTML::FormFu::Element::Fieldset.

Is a sub-class of, and inherits methods from HTML::FormFu::Element

HTML::FormFu

Has been removed; use "default_args" instead.

Carl Franks, "cfranks@cpan.org"

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

Carl Franks <cpan@fireartist.com>

This software is copyright (c) 2018 by Carl Franks.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2019-01-12 perl v5.28.1