• Hi,

    I need a customized thank you page which will be showed after submitting contact form (contactform7), the form will show the name and email address entered by user.

    below is the example thank you page:

    Thank you xxx : someone from our office will get in touch with you via [email protected] within 24 hours.

Viewing 1 replies (of 1 total)
  • Thread Starter Tahir Yasin

    (@tahiryasin)

    I figured out a solution by utilizing the Additional Settings of contact form 7 and placed following code in these settings, it only works for Ajax based form.

    on_sent_ok: "var name = $('.wpcf7 input[name=your-name]').val(); var email = $('.wpcf7 input[name=your-email]').val(); $('.wpcf7').hide(); $('.entry-title').html('thank you'); $('.entry-content').html('thank you '+name+' : someone from our office will get in touch with you via '+email+' within 24 hours.'); "

    Any suggestions to make it work with a separate thank you page?

Viewing 1 replies (of 1 total)
  • The topic ‘Create a customized thank you page to show posted data from contactform7’ is closed to new replies.