{"id":13684665,"url":"https://github.com/snaptortoise/gravity-forms-minmax","last_synced_at":"2026-01-20T18:49:34.487Z","repository":{"id":66365988,"uuid":"122263510","full_name":"snaptortoise/gravity-forms-minmax","owner":"snaptortoise","description":"Adds MIN and MAX functions for Gravity Forms number field calculations","archived":false,"fork":false,"pushed_at":"2021-07-12T07:01:02.000Z","size":172,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-12T06:33:48.264Z","etag":null,"topics":["gravity-forms","gravityforms","minmax","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://snaptortoise.com/wordpress/plugins/gravity-forms-minmax/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/snaptortoise.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":"georgemandis","patreon":"georgemandis","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2018-02-20T22:17:17.000Z","updated_at":"2021-07-12T07:01:05.000Z","dependencies_parsed_at":"2023-02-20T16:15:24.846Z","dependency_job_id":null,"html_url":"https://github.com/snaptortoise/gravity-forms-minmax","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaptortoise%2Fgravity-forms-minmax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaptortoise%2Fgravity-forms-minmax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaptortoise%2Fgravity-forms-minmax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snaptortoise%2Fgravity-forms-minmax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snaptortoise","download_url":"https://codeload.github.com/snaptortoise/gravity-forms-minmax/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251802892,"owners_count":21646297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gravity-forms","gravityforms","minmax","wordpress","wordpress-plugin"],"created_at":"2024-08-02T14:00:36.480Z","updated_at":"2026-01-20T18:49:34.477Z","avatar_url":"https://github.com/snaptortoise.png","language":"PHP","readme":"# Gravity Forms MIN/MAX Calculations\n\nAdds MIN and MAX functions for Gravity Forms number field calculations.\n\n[https://wordpress.org/plugins/gf-minmax-calculation/](https://wordpress.org/plugins/gf-minmax-calculation/)\n\n\n## Description\n\nThis WordPress plugin adds `MIN()` and `MAX()` functions for Gravity Forms number fields calculations. It can be used to determine the highest or lowest value from any number of passed arguments, including merge tags.\n\n## Examples\n\nThis will return the smaller of the four fields (inserted as merge tags) and proceed to divide it by 2:\n\n`MIN({Field:1}, {Field:2}, {Field:3}, {Field:4}) / 2` \n\nThis will return the larger of two fields and proceed to multiply by 4:\n\n`MAX({Field:1}, {Field:2}) * 4`\n\nThis will return either the value of a field (if above zero) or zero:\n\n`MAX({Field:1}, 0)`\n\nThis will return either the value of a field (if below zero) or zero:\n\n`MIN({Field:1}, 0)`\n\nYou can include calculations within the arguments themselves, for example\n\n`MIN({Field:1} * 2, {Field:2} / 2)`\n\n## Installation\n\n### From the WordPress Admin Area\n\n1. Download the plugin zip file from [https://wordpress.org/plugins/gf-minmax-calculation/](https://wordpress.org/plugins/gf-minmax-calculation/)\n1. Log in to your WordPress admin area and navigate to the `Plugins` page\n1. Click `Add New`, then click `Upload Plugin`\n1. Click `Choose File`, then locate and select the plugin zip file\n1. Click `Install Now`\n\n### Using FTP\n\n2. Upload the entire `gravityforms-minmax` folder to the `/wp-content/plugins/` directory.\n2. Activate the plugin through the 'Plugins' menu in WordPress.\n\n## Thanks\n\nThanks to [@michaeldozark](http://github.com/michaeldozark) for his [Gravity Forms exponents plugin](http://github.com/michaeldozark/gravityforms-exponents) which served as a good example of extending the built-in Gravity Forms calculation function.","funding_links":["https://github.com/sponsors/georgemandis","https://patreon.com/georgemandis"],"categories":["Third-Party Add-Ons"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnaptortoise%2Fgravity-forms-minmax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnaptortoise%2Fgravity-forms-minmax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnaptortoise%2Fgravity-forms-minmax/lists"}