How to edit the Jetpack contact form confirmation message
If you Google how to edit the confirmation message that appears when you submit a contact form using the Jetpack WordPress plugin, you’ll find lots of results telling you how to do this by editing the PHP within the Jetpack plugin. This isn’t ideal because not everyone is comfortable editing PHP and if you don’t do it properly then your changes will be lost when you update Jetpack to a new version in future.
The Jetpack Contact Form Success Message plugin was launched a month or so ago and provides a better way to edit the confirmation message. It lets you edit the message that appears on the screen after you submit a contact form. As the name suggests, it can only be used for contact forms that have been added via the Jetpack contact form – not other plugins such as Contact Form 7 or Gravity Forms.
Once you have installed and activated the plugin, a settings page will appear in the WordPress admin. You can use this to create your success message using the standard WordPress editor. This means that you have access to all your usual heading styles, toolbar buttons etc. and can edit the text as needed. You could even add images or other media if you wanted, although I don’t know why you would want to!
This plugin does exactly what it needs to. It won’t change the world but it has fixed a gap that hasn’t been fixed elsewhere. There are a couple of ways that I would like to see it improved to make it even more helpful for people:
- Add an option to put the success message in a box without having to edit the CSS. Some themes don’t have notification boxes built in so this would allow people to make the confirmation message more obvious.
- Provide an option for the confirmation message to appear instead of the content of the page that the form is on. For example, at the moment the success message appears in place of the Jetpack contact form, but the rest of the text on the page remains where it is. This may not be appropriate if – for example – the text elsewhere on the page says “Complete our contact form below”. Some users might want to hide the other text on the page and just display the contact form, or perhaps view the confirmation message on a separate page.
But all in all, a handy little plugin.