XenForo How do I add tooltips to custom field radio button choices?

S

Stuart Wright

Guest
I'm creating a custom user field with 7 different choices. The label text for these choices is short, but the explanation for each is too long to include in the label. The explanation is important to ensure that users pick the correct choice.
I want, instead, to create a tooltip under a ℹ️ displayed after the label for each choice.
I have managed to fudge this because the labels can accept HTML.
e.g.
HTML:

New&nbsp;<i class="fa fa-info-circle" data-xf-init="tooltip" title="A brand-new...

Read more

Continue reading...