The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 1.0

  • redesign: skins are now represented by classes
  • because of that the following methods are not in FormEngine anymore:
    • set_skin
    • add_skin
    • set_default
    • add_default
    • set_handler
    • add_handler
    • add_checks
    • set_confirm_skin
    • add_confirm_skin
    • set_confirm_handler
    • add_confirm_handler
  • instead they're replaced by methods of the skin classes. see MIGRATING for more.
  • the following new methods were added to FormEngine:
    • set_skin_obj
    • get_skin_obj
    • set_seperate
    • confirmation_canceled
    • del_main_vars
  • the skin templates are completly rewritten
  • template system extended:
    • handler calls can now be nested
    • loops without loop variables loop over all variables in the loops body
  • the "check_uniq" template and the "emb_text" template don't exist anymore
  • new templates: select_flexible, select_optgroup, optgroup, optgroup_flexible, fieldset, print_option
  • all handlers have been renamed, you have to add a '#' infront of the old names.
  • new handlers:
    • #gettext_var for translating the contents of a template variable
    • #label for generating a label tag
    • #decide
    • #readonly
    • #multiple
    • #confirm_check_prepare
    • #seperate
    • #encentities
    • #save_to_global
    • #not_null
    • #html2text
    • #arg
  • the following handlers don't exist anymore:
    • checked_uniq
    • confirm_checked
    • confirm_checked_uniq
  • the "check_email" check is renamed to "email"
  • new checks:
    • match
    • unique

Modules

create,validate and control html/xhtml forms
collection of FormEngine check routines
FormEngine template handler
FormEngines basic skin package
the standard FormEngine skin
the standard FormEngine confirm skin
a complete but complex FormEngine skin
the confirm skin for SkinComplex

Provides

in FormEngine/ComplexSkin.pm
in FormEngine/SkinConfirm.pm