Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #779158

    Hello,

    I want to remove all asterisks from contact form *. How can i do that? I try to put that on Quick CSS, but it doesn’t work.

    abbr.required {
        display: none !important;
    }

    Thank you.

    #779179

    Hey Designweb,

    Since the Hide Form Labels is checked, to remove it you need to modify enfold\framework\php\class-form-generator.php and find this function:

    function text($id, $element, $type = 'text')

    inside the function find this code (line 359):

    $extra = "*";

    replace it with:

    $extra = "";

    Hope this helps.

    Best regards,
    Nikko

    #779195

    Hello Nikko,

    that works perfect for text fields.

    Also, to remove the asterisk from textarea field in line 658

    $extra = "*";

    replace it with:

    $extra = "";

    Thank you very much for your help.

    #779261

    Hi,

    Glad we could help and thanks for sharing the solution for textarea :)

    Best regards,
    Nikko

    #780535

    Hello,

    thank you for your help. You can close it.

    #780995

    Hi,

    Great, thanks for letting us know. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Remove asterisks from contact form’ is closed to new replies.