mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-03 07:13:15 +00:00
Only accept orders for 10+ seats.
This commit is contained in:
1 parent
a7e9e8af49
commit
42298f1e6c
2 files changed
+3
-3
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in new issue
Block a user