# v5.1.4 ## 11/16/2021 1. [](#bugfix) * Fixed buttons no longer rendered [#537](https://github.com/getgrav/grav-plugin-form/issues/537) # v5.1.3 ## 10/26/2021 1. [](#new) * Require **Grav 1.7.24** * Added support to disable a form, making it readonly * Added `|value_and_label` Twig filter to convert options to value/label pairs 1. [](#improved) * Improved Twig function `include_form_field()` to allow the second parameter to be an array of layouts # v5.1.2 ## 09/29/2021 1. [](#improved) * Improved support for Twig 2/3 # v5.1.1 ## 09/14/2021 1. [](#new) * Require **Grav 1.7.21** 1. [](#bugfix) * Fixed accidental admin plugin requirement for YAML filter in the form * Fixed `GravForm.config` JS to have correct `current_url` and `current_params` settings * Fixed custom file upload and remove routes * Fixed bug where uploading file has no effect [#349](https://github.com/getgrav/grav-plugin-form/issues/349) * Fixed field with numeric field name in `prepare_form_fields()` [#530](https://github.com/getgrav/grav-plugin-form/issues/530) # v5.1.0 ## 08/31/2021 1. [](#new) * Require **Grav 1.7.19** * Added support for custom form layouts * Added Twig function `prepare_form_fields()` and `prepare_form_field()` to prepare form fields and field array * Added Twig function `include_form_field()` to get all include paths for the field type * Make `nonce` to a customizable field 1. [](#bugfix) * Fixed bad cookie value for remembering the position of nested tabs # v5.0.3 ## 06/15/2021 1. [](#improved) * Removed the windows `\r\n` line breaks + extraneous escaping in `data.txt.twig` * Use `base64_encode` filter rather than function # v5.0.2 ## 04/23/2021 1. [](#improved) * Better message for invalid nonce [#513](https://github.com/getgrav/grav-plugin-form/issues/513) * Better error if `Form::getPage()` gets called too early [#518](https://github.com/getgrav/grav-plugin-form/issues/518) * Added support for custom Toggle id # v5.0.1 ## 03/17/2021 1. [](#improved) * Updated `de` language [#510](https://github.com/getgrav/grav-plugin-form/pull/510) * Better field type definitions for avatar and file fields 1. [](#bugfix) * Fixed toggle highlight when there's no value * Fixed wrong selected values in `select` field with integer and boolean values * Fixed changelog display [#502](https://github.com/getgrav/grav-plugin-form/pull/502) # v5.0.0 ## 02/17/2021 1. [](#new) * Requires **Grav 1.7.0** * Allow admins to temporarily disable form process actions by setting the value to `false` [#481](https://github.com/getgrav/grav-plugin-form/pull/481) 1. [](#improved) * Add `id` attribute to hidden field [#495](https://github.com/getgrav/grav-plugin-form/pull/495) * Escape text as YAML in multi-line textarea [#464](https://github.com/getgrav/grav-plugin-form/pull/464) 1. [](#bugfix) * Fixed reCaptcha v3 incompatibility with multiple forms on the same page sharing different actions [#416](https://github.com/getgrav/grav-plugin-form/issues/416) * Toggle fields do not save `false` if they are `toggleable` [#497](https://github.com/getgrav/grav-plugin-form/issues/497) * Data template fixes [#494](https://github.com/getgrav/grav-plugin-form/pull/494) * Fix deprecated Twig method # v4.3.1 ## 01/31/2021 1. [](#improved) * Updated deprecated `Twig_SimpleFunction` code * Added Lithuanian translation [#485](https://github.com/getgrav/grav-plugin-form/pull/485) 1. [](#bugfix) * Fixed state of the checkbox if no value is provided * Fixed evaluating default value in `hidden` field (thanks @NicoHood) * Fixed default value to come from the `Form` in overridable field (thanks @NicoHood) * Fix for disabling `client_side_validation` [#482](https://github.com/getgrav/grav-plugin-form/pull/482) * Fix for translations in `select` field in data template [#475](https://github.com/getgrav/grav-plugin-form/pull/475) * PHPDoc fixes # v4.3.0 ## 12/14/2020 1. [](#new) * Added a new ‘condition’ attribute for tab for logic to process if it should display or not 1. [](#improved) * Added priority to form translations/config 1. [](#bugfix) * Fix admin access check [#463](https://github.com/getgrav/grav-plugin-form/pull/463) # v4.2.0 ## 12/02/2020 1. [](#improved) * Added support for arbitrary `attributes` on `form`, `textarea` and `checkbox` and `buttons`. [#447](https://github.com/getgrav/grav-plugin-form/issues/447) [#448](https://github.com/getgrav/grav-plugin-form/issues/448) * Better support for array field key/value when either key or value are left empty * Allow data-* form parameters to be used as