I am working with WFFM 8.1 U3 and one of the requirements was to support placeholder text on a single field (subscribe) form that is being pulled on the footer of my site. For this I have set that field type to single line text, set the form type to inline and treated the title as my placeholder text. now this worked a treat until I've tested the field with a string that does not match the validation (invalid email format) only to see the error message being thrown twice on my screen.
I tried to compare it to a working version or even to override the duplicate message with a snippet of script however WFFM seems to generate those with dynamic ID's making it impossible to pin that bogus duplicate down.
Here is how the error looks like:
And here is the Markup of the original correct message:
<span class="help-block sr-only field-validation-error" data-valmsg-for="wffm1157284166e046ff9a8421f045ffa3dc.Sections.Fields.Value" data-valmsg-replace="true"><span id="wffm1157284166e046ff9a8421f045ffa3dc_Sections_0__Fields_0__Value-error" class="">The value of the Email field is not valid.</span></span>
Duplicate message in a separate
<div class="popover fade left in" id="popover324467" style="top: -84.0938px; left: -255px; display: block; position: relative;"><div class="arrow" style="top: 50%;"></div><div class="popover-inner"><div class="popover-content">The value of the Email field is not valid.</div></div></div>
Any ideas or suggestion how to overcome this would be appreciated.