From 69de9247a63f7db55e429bcff73090df3f3bffa1 Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Fri, 7 Feb 2020 20:03:52 +0000 Subject: [PATCH] Enable jQuery validate on register/contribution forms --- templates/CRM/Contribute/Form/Contribution/Main.tpl | 9 +-------- templates/CRM/Event/Form/Registration/Register.tpl | 1 + 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/templates/CRM/Contribute/Form/Contribution/Main.tpl b/templates/CRM/Contribute/Form/Contribution/Main.tpl index a16097cf01..6077fe49fd 100644 --- a/templates/CRM/Contribute/Form/Contribution/Main.tpl +++ b/templates/CRM/Contribute/Form/Contribution/Main.tpl @@ -397,11 +397,4 @@ {/literal} {/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"} diff --git a/templates/CRM/Event/Form/Registration/Register.tpl b/templates/CRM/Event/Form/Registration/Register.tpl index 046d997e3d..cc2ccfdb34 100644 --- a/templates/CRM/Event/Form/Registration/Register.tpl +++ b/templates/CRM/Event/Form/Registration/Register.tpl @@ -247,3 +247,4 @@ {/literal} +{include file="CRM/Form/validate.tpl"} -- 2.25.1