Title: Adding HTML at the &quot;after submit&quot;
Last modified: August 22, 2016

---

# Adding HTML at the "after submit"

 *  Resolved [Johan F00](https://wordpress.org/support/users/justrunlah/)
 * (@justrunlah)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/adding-html-at-the-after-submit/)
 * Hi,
    thanks for the great plugin.
 * Quick question, is is possible to add HTML on the “After submit…” field?
 * I would like for example to output an image and a link after the user has successfully
   submitted the form.
 * I tried adding the code but it doesn’t execute it.
 * Thanks in advance
 * [https://wordpress.org/plugins/wysija-newsletters/](https://wordpress.org/plugins/wysija-newsletters/)

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

 *  [Wysija](https://wordpress.org/support/users/wysija/)
 * (@wysija)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/adding-html-at-the-after-submit/#post-5358066)
 * Hi JustRunLah!
 * I’m sorry, but it’s not possible. Actually, we use to allow it but for security
   reason we stopped allowing it.
 * Thanks!
 *  [Karissa Skirmont](https://wordpress.org/support/users/karissa/)
 * (@karissa)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/adding-html-at-the-after-submit/#post-5358124)
 * Really?
 * NOBODY is going to notice the “Check your inbox or spam folder now to confirm
   your subscription.” when the page refreshes and its doesn’t stand out.
 *  [djrikki](https://wordpress.org/support/users/djrikki/)
 * (@djrikki)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/adding-html-at-the-after-submit/#post-5358132)
 * Whilst we wait patiently for MP3 (assuming it can be done in MP3) is there anyway
   we can get around this seemingly un-necessary limitation as I absolutely need
   this very soon!
 *  [Wysija](https://wordpress.org/support/users/wysija/)
 * (@wysija)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/adding-html-at-the-after-submit/#post-5358133)
 * That is already implemented on MailPoet 3, rest assured people!
 * Okay, here’s the code. Just paste it at the bottom of your footer.php after the
   wp_footer() call.
 *     ```
       <script>
       (function($){
       	$(document).ready(function(){
       		$('form.widget_wysija').submit(function(e){
       			e.preventDefault();
       			setTimeout(function(){
       				var msg=$('.wysija-msg');
       				if(msg.text()!==''){
       					window.location.replace('http://your_thank_you_page_url');
       				}
       			},3000);
       		});
       	});
       })(window.jQuery);
       </script>
       ```
   
 * Don’t forget to change the “your_thank_you_page_url” part.
 *  [djrikki](https://wordpress.org/support/users/djrikki/)
 * (@djrikki)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/adding-html-at-the-after-submit/#post-5358134)
 * Hi MP,
 * That’s great to know, thank you.
 * How can I make a conditional check against a particular List ID? In order to 
   present a different re-direction URL. It this currently possible?
 *  [Wysija](https://wordpress.org/support/users/wysija/)
 * (@wysija)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/adding-html-at-the-after-submit/#post-5358135)
 * It’s possible with another jQuery Script, however, we can’t help you with that.
 * You can find and expert do to that for you on Fiverr for around $5: [https://www.fiverr.com/search/gigs?acmpl=1&category=10&en_query=&layout=auto&locale=pt-BR&page=1&passing_locale=en&query=jquery&search_in=category&source=top-bar&sub_category=140&utf8=%E2%9C%93](https://www.fiverr.com/search/gigs?acmpl=1&category=10&en_query=&layout=auto&locale=pt-BR&page=1&passing_locale=en&query=jquery&search_in=category&source=top-bar&sub_category=140&utf8=%E2%9C%93)

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

The topic ‘Adding HTML at the "after submit"’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wysija-newsletters_ffddcc.svg)
 * [MailPoet Newsletters (Previous)](https://wordpress.org/plugins/wysija-newsletters/)
 * [Support Threads](https://wordpress.org/support/plugin/wysija-newsletters/)
 * [Active Topics](https://wordpress.org/support/plugin/wysija-newsletters/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wysija-newsletters/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wysija-newsletters/reviews/)

 * 6 replies
 * 4 participants
 * Last reply from: [Wysija](https://wordpress.org/support/users/wysija/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/adding-html-at-the-after-submit/#post-5358135)
 * Status: resolved