Noticed there have been a few topics created over the last 6 months. But could not find any that actually had a resolution to this issue.
Affects (Modal:Fancy Box, Thickbox or Slideshows:Anything Slider)
The character count jQuery plugin that is being used is being fired multiple times. Not sure why but I don't see any JavaScript conflicts happening. One fix that I was going to implement on our end and suggest as an "improvement" would be to detect if a the .charleft has already been created for the selected textarea/input if it doesn't exist create it else return.
Within /gravityforms/js/jquery.textareaCounter.plugin.js
var container = $(this);
if(container.parent().has('.charleft').length === 0) {
$("<div class='charleft'> </div>").insertAfter(container);
}
or possibly. depending on which way you want to go
if(container.parent().has('.charleft').length > 0) {
return;
}
$("<div class='charleft'> </div>").insertAfter(container);
Figured I would see if there was a fix at all on the roadmap or I'll just make a note to fix this after an update is applied.
I believe this may also be related to an issue with ajax forms not submitting properly as well as seen in this post http://www.gravityhelp.com/forums/topic/using-ajax-with-contact-form-in-modal-window-getting-2-spinners
EDIT: Made a change to my original markup based on some testing.