mirror of
https://github.com/mwalbeck/grav-plugin-compare-form-fields.git
synced 2024-11-23 06:57:35 +00:00
blueprints.yaml | ||
CHANGELOG.md | ||
compare-form-fields.php | ||
compare-form-fields.yaml | ||
languages.yaml | ||
LICENSE | ||
README.md |
Compare Form Fields Plugin
The Compare Form Fields Plugin is for Grav CMS.
Description
This plugin can compare any 2 fields in a form. Currently you can only compare 1 set of fields per form as that was all i needed.
To compare 2 fields you just add the compare_fields option in the process section of the form. After that you add the name property of the 2 fields to "field1" and "field2" options under compare_fields. Example below:
process:
compare_fields:
field1: "name of first field"
field2: "name of second field"
License
This plugin is licensed under The MIT license.