[REF] Fix jquery validation for on behalf of fields when combined with a preimum
authorSeamus Lee <seamuslee001@gmail.com>
Fri, 7 Aug 2020 02:09:55 +0000 (12:09 +1000)
committerSeamus Lee <seamuslee001@gmail.com>
Fri, 7 Aug 2020 23:04:52 +0000 (09:04 +1000)
templates/CRM/Contribute/Form/Contribution/PremiumBlock.tpl

index db7e56220c678ebe73e392f5537e995dc3e4db36..6ca766cc26b31a2dbd8d4009d9d201ecc68647fd 100644 (file)
           $('#selectProduct').rules('add', 'premiums');
         });
 
-        // need to use jquery validate's ignore option, so that it will not ignore hidden fields
-        CRM.validate.params['ignore'] = '.ignore';
       });
     </script>
     {/literal}