• Resolved GregW

    (@gwmbox)


    Is there any way I can add html to a fields label?

    When I do add any html, it removes it after save/update that field.

    Odd question I know but if it can be done it would be helpful for me 😉

    Cheers

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @gwmbox

    Which form do you need to add the HTML to the field label?

    Regards,

    Thread Starter GregW

    (@gwmbox)

    Any profile form as required. I’d like to be able to have the field label with some having some added style applied to that label.

    Plugin Support Aswin Giri

    (@aswingiri)

    @gwmbox Any HTML added to the field label is escaped for security, If you want to style the field label, you will have to use CSS.

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @gwmbox

    Yes, manipulating the label’s styles with CSS is the recommended way.

    Regards,

    Thread Starter GregW

    (@gwmbox)

    Thanks, I know I can style the labels via CSS, I was hoping to be able to add something after them, for example a small image after some of them, as in not all of them as a global label style :). But if it can’t be done that is fine, just thought I would ask :).

    Thread Starter GregW

    (@gwmbox)

    I think I have figured a way to do it by using [for] css for each label and adding after css to the specific ones which should do what I need 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Add html to field label?’ is closed to new replies.