Issue #0001634: un petit bug est corrigé
This commit is contained in:
parent
6de3bec3d9
commit
b1725a2a61
@ -86,7 +86,7 @@ $wdate = new WDate();
|
||||
|
||||
<div>
|
||||
<label>Encours</label>
|
||||
<input type="text" name="encours" value="<?=$getcutoff['encours']/1000 ?>" required pattern="([0-4]{1}[0-9]{1}[0-9]{1})|500" maxlength="3"/> K€ (de 0 à 500 K€)
|
||||
<input type="text" name="encours" value="<?=$getcutoff['encours']/1000 ?>" required pattern="([0-9]{1})|([0-9]{1,2})|([0-4]{1}[0-9]{0,2})|500" maxlength="3"/> K€ (de 0 à 500 K€)
|
||||
</div>
|
||||
|
||||
<div>
|
||||
@ -150,7 +150,7 @@ function validate() {
|
||||
var allvals = true;
|
||||
$("[required]").each(function() { if(!$(this).val()) { allvals = false; } });
|
||||
if($('[name=encours]').val()<0 || $('[name=encours]').val()>500) { allvals = false; }
|
||||
return allvals
|
||||
return allvals;
|
||||
}
|
||||
|
||||
$(document).ready(function(){
|
||||
|
Loading…
Reference in New Issue
Block a user