Enable jQuery validate on register/contribution forms
authorMatthew Wire <mjw@mjwconsult.co.uk>
Fri, 7 Feb 2020 20:03:52 +0000 (20:03 +0000)
committerMatthew Wire <mjw@mjwconsult.co.uk>
Fri, 7 Feb 2020 20:05:14 +0000 (20:05 +0000)
templates/CRM/Contribute/Form/Contribution/Main.tpl
templates/CRM/Event/Form/Registration/Register.tpl

index a16097cf01f3760fac2a3dd3a89885c199a349cd..6077fe49fdc4d4ed6422841ce2c9a6793905de3c 100644 (file)
   {/literal}
 </script>
 {/if}
-
-{* jQuery validate *}
-{* disabled because originally this caused problems with some credit cards.
-Likely it no longer has an problems but allowing conditional
- inclusion by extensions / payment processors for now in order to add in a conservative way *}
-{if $isJsValidate}
-  {include file="CRM/Form/validate.tpl"}
-{/if}
+{include file="CRM/Form/validate.tpl"}
index 046d997e3d68902d7f98e0f3cf2a3bdfdeea74d9..cc2ccfdb340629eed94cdac7fa3597984f06aa6a 100644 (file)
 
 </script>
 {/literal}
+{include file="CRM/Form/validate.tpl"}