Title: Integrate into other forms
Last modified: August 21, 2016

---

# Integrate into other forms

 *  Resolved [sean_b](https://wordpress.org/support/users/sean_b/)
 * (@sean_b)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/integrate-into-other-forms/)
 * Sorry to post two in quick succession!
 * I’d like to integrate this into other forms. I have a custom contact page form
   that I’ve written and at the moment it calls itself for validation and redisplays
   the form with inline error messages if fields have not been completed.
 * I’d like to make it consistent with the comments and use this plugin. I can handle
   putting the right css containers in, I just need to know what the validation 
   code needs to do to trigger the messages.
 * [http://wordpress.org/plugins/wp-ajaxify-comments/](http://wordpress.org/plugins/wp-ajaxify-comments/)

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

 *  [janjonas](https://wordpress.org/support/users/janjonas/)
 * (@janjonas)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/integrate-into-other-forms/#post-3966011)
 * Hi,
 * thanks for your comment. With the current version 0.14.x you can use the JavaScript
   functions WPAC._ShowMessage as follows:
 *     ```
       WPAC._ShowMessage("Your error message...", "error")
       WPAC._ShowMessage("Your error message...", "success")
       WPAC._ShowMessage("Your error message...", "info")
       ```
   
 * to show/open the message popup. Please note that the API WPAC._ShowMessage might
   change in the future versions.
 * Moreover you have to implement the other validation and/or AJAX (JavaScript) 
   functionality. Unfortunately, at the moment there no way to the WP-Ajaxify-Comments’
   form handling code.
 * Hope this helps…
 *  Thread Starter [sean_b](https://wordpress.org/support/users/sean_b/)
 * (@sean_b)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/integrate-into-other-forms/#post-3966034)
 * Thanks for such a quick reply.
 * Looks like I’ve got to do a fair bit more digging to figure out how to get it
   to submit the form and check the response. I’m OK on PHP and HTML/CSS but not
   really Javascript. I’ll have a look at what the plugin does and see what I can
   work out.
 * I’ll mark this as resolved, and perhaps suggest a future feature request to make
   this applicable to other forms outside of the comments!

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

The topic ‘Integrate into other forms’ is closed to new replies.

 * ![](https://ps.w.org/wp-ajaxify-comments/assets/icon-256x256.png?rev=2962290)
 * [Ajaxify Comments - Ajax and Lazy Loading Comments](https://wordpress.org/plugins/wp-ajaxify-comments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-ajaxify-comments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-ajaxify-comments/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-ajaxify-comments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-ajaxify-comments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-ajaxify-comments/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [sean_b](https://wordpress.org/support/users/sean_b/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/integrate-into-other-forms/#post-3966034)
 * Status: resolved