• Resolved highresart

    (@highresart)


    Hi!
    I followed instructions via https://www.ads-software.com/plugins/very-simple-contact-form/installation/ and successfully changed the Thank You message using this short code:
    [contact label_message_success=”Thank you for your message, I’m so happy to hear from you! I’ll get back to you soon. Warm regards, HighResArt”]

    I would like to add paragraphs/breaks so that it reads as:
    “Thank you for your message, I’m so happy to hear from you! I’ll get back to you soon.

    Warm regards,
    HighResArt”

    When I try to add these paragraph/breaks, it shows up like this:
    “Thank you for your message, I’m so happy to hear from you! I’ll get back to you soon.</p> <p>Warm regards,
    HighResArt”

    Is there any way to add these without showing the html?
    Thanks!

    Ps. Additional information: I don’t code usually, I’m a noob. I’m using the Tesseract theme with page builder, Beaver Builder Plugin Lite

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter highresart

    (@highresart)

    As an alternative, would it be possible to use a picture instead of text?

    Plugin Author Guido

    (@guido07111975)

    Hi,

    I did receive your mail as well, but lets try to solve it here ??

    The HTML characters are stripped from the message text, check files vscf_main and vscf_widget_form:

    $info = '<p class="vscf_info">'.esc_attr($result).'</p>';

    The esc_attr encodes it. So only regular text will work.

    You can remove it, but it’s part of output validation (security):

    $info = '<p class="vscf_info">'.$result.'</p>';

    By the way, it’s ‘message_success’ and not ‘label_message_success’.

    Guido

    Thread Starter highresart

    (@highresart)

    Oy. I did just that and it shut my site down. I just reinstalled the plugin…I guess I’ll just suck it up and not use html

    Plugin Author Guido

    (@guido07111975)

    Hi,

    That’s too bad ??

    Just copy-paste my code, it should work.

    But I don’t like modifying core files, because in case of plugin update you will lose them.

    You can als try another contact form, such as Contact Form 7.

    Guido

    Plugin Author Guido

    (@guido07111975)

    Closing this topic because of no replies.

    Guido

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Adding paragraphs to Thank You message’ is closed to new replies.