Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #41435

Re: Using javascript to validate a numeric condition

From doctor@doctor.nl2k.ab.ca (The Doctor)
Newsgroups comp.lang.javascript
Subject Re: Using javascript to validate a numeric condition
Date 2023-09-12 04:30 +0000
Organization NetKnow News
Message-ID <udophc$26f$2@gallifrey.nk.ca> (permalink)
References <udnrrd$1d47$4@gallifrey.nk.ca> <46aa056d-9519-4a93-bcc3-a342ba2e44fen@googlegroups.com>

Show all headers | View raw


In article <46aa056d-9519-4a93-bcc3-a342ba2e44fen@googlegroups.com>,
Michael Haufe (TNO) <tno@thenewobjective.com> wrote:
>On Monday, September 11, 2023 at 3:04:06 PM UTC-5, The Doctor wrote:
>> I am trying to using jquery.validate.js 
>> 
>> to validate a total to be greater than 0? 
>>
>> [...]
>
>Is there a reason why you can't just use the native form functionality?
>
><form id='blogm'>
>  <input name='charge_total' type='number' min='0' required>
>  <button>Submit</button>
></form>

iFWIW, it works!
-- 
Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b 
Manitoba on 3 Oct 2023 vote Liberal! Beware https://mindspring.com

Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Using javascript to validate a numeric condition doctor@doctor.nl2k.ab.ca (The Doctor) - 2023-09-11 20:03 +0000
  Re: Using javascript to validate a numeric condition "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2023-09-11 17:44 -0700
    Re: Using javascript to validate a numeric condition doctor@doctor.nl2k.ab.ca (The Doctor) - 2023-09-12 04:30 +0000

csiph-web