diff --git a/htdocs/adherents/card_subscriptions.php b/htdocs/adherents/card_subscriptions.php index d19fccc87f1..a4a7661f712 100644 --- a/htdocs/adherents/card_subscriptions.php +++ b/htdocs/adherents/card_subscriptions.php @@ -703,7 +703,11 @@ if ($rowid) if (code == \'CHQ\') { jQuery(\'#fieldchqemetteur\').val(jQuery(\'#memberlabel\').val()); - jQuery(\'#fieldchqemetteur\').val(jQuery(\'#memberlabel\').val()); + jQuery(\'.fieldrequireddyn\').addClass(\'fieldrequired\'); + } + else + { + jQuery(\'.fieldrequireddyn\').removeClass(\'fieldrequired\'); } }); '; @@ -824,7 +828,7 @@ if ($rowid) print ''; print '