• hallo, i have problem with showing up custom error/succes messages.

    $msgs = $contact_form->prop(‘messages’);
    $msgs[‘mail_sent_ok’] = $somehtmlcode;
    $contact_form->set_properties(array(‘messages’ => $msgs));

    when we view on frontend instead of html code we see only plain text, all tags are stripped.

    how can we change that ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Thread Starter wemessage

    (@wemessage)

    we need to show custom link for users after they have submitted form.

    we have hook wpcf7_before_send_mail action which processes data and generates unique link.

    this link we need to show after form has been submited.

    is there a way to display that link as html?

    some javascript hook or code hack inside contact form 7 otherwise we have to find / build something different for that purpose.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Html in response message’ is closed to new replies.