• Paul

    (@pawelszroeder)


    How to remove * from e-mail field placeholder in form? In placeholder there is not span. Span is only in the label. How to remove * from placeholder? In 2.0 version this star is not showing in placeholder.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Bruna a11n

    (@bruberries)

    Hey @pawelszroeder,

    I don’t see any * in the placeholder, only in the label.

    Anyway, you could hide it if you want by editing your form at the Styles tab.

    Here’s an example:

    .mailpoet_required{
    display:none !important;
    }

    Thread Starter Paul

    (@pawelszroeder)

    Hi @bruberries, I don’t agree. I enclose image in link:
    https://ibb.co/gswUQb

    1. I created e-mail field with placeholder ‘my email’ (without *), but it appears in back-end preview.
    2. In front-end I see * in placeholder code. So there is no option to remove it by CSS.

    In admin panel every phrase that I use in E-mail field have automatically * at the end. It is added by MailPoet 3.

    • This reply was modified 8 years, 7 months ago by Paul.
    Thread Starter Paul

    (@pawelszroeder)

    Hi @bruberries, can you help?:)

    Plugin Author Bruna a11n

    (@bruberries)

    Hi, @pawelszroeder,

    Yes, MailPoet automatically adds * in Email field because this field is mandatory. You don’t have the option to edit it like you have in the other fields.

    That’s why I suggested you to hide it by editing the CSS.

    Here’s where you can edit it by using the example I gave you:

    View post on imgur.com

    Thread Starter Paul

    (@pawelszroeder)

    Hi @bruberries, thanks for answer, but are you good ad CSS? Don’t get me wrong, but you cannot use “display: none!important” and any other css for placeholder value. It is possible only for label or whole input. Moreover this e-mail input with placeholder doesn’t have class “.mailpoet_required”. This class only exist when you don’t use placeholder option in form (and then there is a span with that class inside the label).

    In MailPoet you can have two different types of field: input with label and input with placeholder.

    So my question is again: is it possible to remove * sign from placeholder?

    In MailPoet2 there was option to use any text and plugin didn’t add * at the end…

    • This reply was modified 8 years, 7 months ago by Paul.
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Remove * from e-mail placeholder in form’ is closed to new replies.