From 2668db981f7ec54e11ed25012621ee6d1437d236 Mon Sep 17 00:00:00 2001 From: Pratik Joshi Date: Wed, 26 Mar 2014 14:20:02 +0530 Subject: [PATCH] fix for : form rule validation notifications not shown --- templates/CRM/Form/body.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Form/body.tpl b/templates/CRM/Form/body.tpl index 927feb22d8..2ed29d5425 100644 --- a/templates/CRM/Form/body.tpl +++ b/templates/CRM/Form/body.tpl @@ -33,7 +33,7 @@
{$form.hidden}
{/if} -{if $snippet neq 'json' and !$suppressForm and count($form.errors) gt 0} +{if ($snippet eq 0 or $snippet neq 'json') and !$suppressForm and count($form.errors) gt 0}
{ts}Please correct the following errors in the form fields below:{/ts} -- 2.25.1