diff options
author | Roel Spilker <r.spilker@gmail.com> | 2021-03-04 23:12:04 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2021-03-04 23:12:04 +0100 |
commit | 42298f1e6c0d3a664e673d090ca7624e4242ef45 (patch) | |
tree | 8624dd540e5179bdb33fc782a1f58e9506a7eaa2 | |
parent | a7e9e8af49c61d2e9929ef9c807f18aa0d6d6c31 (diff) | |
download | lombok-42298f1e6c0d3a664e673d090ca7624e4242ef45.tar.gz lombok-42298f1e6c0d3a664e673d090ca7624e4242ef45.tar.bz2 lombok-42298f1e6c0d3a664e673d090ca7624e4242ef45.zip |
Only accept orders for 10+ seats.
-rw-r--r-- | website/resources/js/order-license.js | 2 | ||||
-rw-r--r-- | website/templates/order-license.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/website/resources/js/order-license.js b/website/resources/js/order-license.js index 21550f34..6745567d 100644 --- a/website/resources/js/order-license.js +++ b/website/resources/js/order-license.js @@ -110,7 +110,7 @@ formFail = true; } - if (!data.seats || isNaN(data.seats) || data.seats < 1) { + if (!data.seats || isNaN(data.seats) || data.seats < 10) { $("#seats").focus(); showError("seats"); formFail = true; diff --git a/website/templates/order-license.html b/website/templates/order-license.html index c3f52cef..127b2044 100644 --- a/website/templates/order-license.html +++ b/website/templates/order-license.html @@ -40,9 +40,9 @@ </div> <div id="licenseTypeErr" class="formErr" hidden="hidden">License type is a required field.</div> <div class="form-group"> - <label for="seats"># of developers using lombok</label> + <label for="seats"># of developers using lombok (minimum: 10)</label> <input type="number" placeholder="# of developers" class="form-control" id="seats" /> - <div id="seatsErr" class="formErr" hidden="hidden">We need to know the # of developers to determine the license price.</div> + <div id="seatsErr" class="formErr" hidden="hidden">We need to know the # of developers to determine the license price, and that # needs to be at least 10.</div> </div> </fieldset> <fieldset class="form-group"> |