• Resolved robaxxx

    (@robaxxx)


    Hi again

    I normally hide labels in a form and use placeholder text to display the label instead.

    That works in Forminator as well, but it also means the field has no useful name in the notifications. If I add labels and placeholders and then maybe hide the labels with CSS I could at least make it work, but is there not a proper option to hide labels? I’ve been searching and looking through the docs and settings but can’t see this.

    Regards
    Rob

    • This topic was modified 3 months, 2 weeks ago by robaxxx. Reason: typo
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @robaxxx

    I hope you are doing well.

    Can you give it a try:

    .forminator-label{
        display: none !important;
    }

    Add to Form > Behaviour > Custom CSS, the .forminator-label is our label CSS selector.

    Let us know if that is what you’ve been looking for.
    Best Regards
    Patrick Freitas

    Thread Starter robaxxx

    (@robaxxx)

    Thanks Patrick.

    Yes, I can use CSS to hide labels, but I was looking for something more elegant, perhaps like is in a form I use for another CMS. In that one, each field has a selector to choose from the following:

    • Auto
    • Hidden
    • Left
    • Center
    • Right

    In that case, Auto means to use a default setting that applies to all fields. And Hidden of course means to hide it.

    When I use CSS in Forminator (as I did last night) I have to deal with each label separately because the forminator-label selector removes them all, including on radio buttons and checkbox lists that don’t have placeholder text. I did it after I made the post, but as you can imagine it’s a bit of a job.

    Anyhow, just a suggestion perhaps.

    Thanks (I’ll close this)
    Rob

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @robaxxx,

    Thanks for the feedback, I’ll make sure to bring this further to our team’s attention so that we can check if any improvements could be implemented in future updates.

    At the moment, I’m afraid it’ll require custom CSS to hide the labels as suggested. Sounds like you have managed to get it sorted, however, in case you still need any field-specific CSS feel free to let us know.

    Kind Regards,

    Nithin

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.