Skip to content

Commit

Permalink
Merge pull request #13961 from eileenmcnaughton/validate
Browse files Browse the repository at this point in the history
Allow extensions to enable validate.tpl
  • Loading branch information
colemanw authored Apr 5, 2019
2 parents 2d590b4 + d7d7dde commit 912924a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions templates/CRM/Contribute/Form/Contribution/Main.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -415,5 +415,9 @@
{/if}

{* jQuery validate *}
{* disabled because more work needs to be done to conditionally require credit card fields *}
{*include file="CRM/Form/validate.tpl"*}
{* 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}

0 comments on commit 912924a

Please sign in to comment.