If you chose the option "Insert tooltip icon next to label" you may end up with fields with multiple tooltips due to multiple labels (e.g. radio buttons).
I think inside the render_tooltip_icon method this might be a fix, as it only replaces the first instance of a closing label tag.
// drop our tooltip on there
$needle = '</label>';
$pos = strpos($content, $needle);
if ($pos !== false) {
$content = substr_replace($content, $needle . $icon , $pos, strlen($needle));
}
If you chose the option "Insert tooltip icon next to label" you may end up with fields with multiple tooltips due to multiple labels (e.g. radio buttons).
I think inside the render_tooltip_icon method this might be a fix, as it only replaces the first instance of a closing label tag.
// drop our tooltip on there $needle = '</label>'; $pos = strpos($content, $needle); if ($pos !== false) { $content = substr_replace($content, $needle . $icon , $pos, strlen($needle)); }
Still, many thanks, best wishes Sunny