• Resolved chauhowai

    (@chauhowai)


    To keep the red asterisk, I need to add below codes.

    In wpgform-core.php:
    ,’span’ => array(‘class’ => array(), ‘style’ => array())

    In gforms.css:
    .ss-required-asterisk {
    color: red;
    }

    Include it in the next version?

    http://ww.wp.xz.cn/extend/plugins/wpgform/

Viewing 1 replies (of 1 total)
  • Plugin Author Mike Walsh

    (@mpwalsh8)

    Adding the SPAN tag to the list of allowed HTML elements is certainly possible but I am not sure it is necessary. When I look at the page source for a couple of Google Forms, for example my Help and Support Form, the text is red and the HTML looks like this:

    <div class="ss-required-asterisk">* Required</div>

    The CSS supplied with WordPress Google Form defines this:

    div.ss-required-asterisk {
        color: red;
        font-weight: bold;
    }

    The default CSS isn’t enabled unless explicitly turned on the WordPress Google Forms settings page.

    Am I missing something?

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WordPress Google Form] Keep the red asterisk’ is closed to new replies.