Title: Injecting Multi Step PHP form
Last modified: August 31, 2016

---

# Injecting Multi Step PHP form

 *  [ranbyideas](https://wordpress.org/support/users/ranbyideas/)
 * (@ranbyideas)
 * [10 years ago](https://wordpress.org/support/topic/injecting-multi-step-php-form/)
 * I have a client who has a multi step registration form on their website including
   a payments page and the site is built entirely in PHP. They are wanting to have
   the site migrated to wordpress for content purposes and management/tracking etc.
   Is there anyway to use this plugin integrate their PHP and these processes or
   to build it into the woo commerce processes?
 * [https://www.grailer.com/](https://www.grailer.com/)
    [https://www.grailer.com/users/signup](https://www.grailer.com/users/signup)
 * [https://www.grailer.com/users/login](https://www.grailer.com/users/login)
    username:
   [williams.john.c@gmail.com](https://wordpress.org/support/topic/injecting-multi-step-php-form/williams.john.c@gmail.com?output_format=md)
   password: 12345
 * [https://www.grailer.com/teams/profile/](https://www.grailer.com/teams/profile/)
   
   [https://www.grailer.com/payments/pay/194](https://www.grailer.com/payments/pay/194)
 * Do you offer customization services or have a good referral source?
 * [https://wordpress.org/plugins/insert-php/](https://wordpress.org/plugins/insert-php/)

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

 *  [WillBontrager](https://wordpress.org/support/users/willbontrager/)
 * (@willbontrager)
 * [10 years ago](https://wordpress.org/support/topic/injecting-multi-step-php-form/#post-7202348)
 * I’ll have to think how to accomplish what you need to do and will add a post 
   to this thread.
 * Unfortunately, Insert PHP out of the box won’t work for this. It would probably
   be good not to rely on any plugin as a WordPress upgrade may make it useless —
   unlikely, but if it does happen you’ll be scrambling to fix the site.
 * If you see this before I add a post, my contact information (telephone number,
   postal address, contact form) is at
 * [http://www.willmaster.com/contact.php](http://www.willmaster.com/contact.php)
 * Yes, we do custom programming.
 * Will
 *  [WillBontrager](https://wordpress.org/support/users/willbontrager/)
 * (@willbontrager)
 * [10 years ago](https://wordpress.org/support/topic/injecting-multi-step-php-form/#post-7202354)
 * To get this out of the way first: In addition to the one mentioned earlier, another
   reason not to use plugins for operations-critical aspects of the site is because
   installing another plugin, or another plugin being upgraded, might interfere 
   with the critical plugin. As an example, older versions of Woo Commerce (I don’t
   have information about latest versions) aren’t compatible with Insert PHP.
 * For your multi-page forms, my inclination (although realizing I don’t have all
   the information at hand to make a positive recommendation) is to suggest creating
   separate templates for the forms. Although I have created custom templates, it’s
   futzy and time-consuming work for me and I would be pleased if, should you decide
   to go that route, you could find someone else to do it for you.
 * Note that forms with method GET is undesirable because whether or not GET works
   depends on permalinks setting. Someone changing the permalinks setting could 
   disable the forms site-wide.
 * Another way to implement your multi-page forms is to use Ajax. This is more along
   my line of expertise and something I’m willing to help you with.
 * One line of JavaScript can pull the forms into a page. Ajax is used to submit
   the forms. When one form page is submitted, it’s replaced with the next form 
   page. PHP scripts on the server deliver the forms and handle the form submissions.
 * Downside: Form pages appear at the same URL, making it impossible for the user
   to click the “back” button for the pervious page (although a “back” link could
   be provided).
 * Upside: Form-spamming robots are unlikely to find the form or use it successfully.
 * Will

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

The topic ‘Injecting Multi Step PHP form’ is closed to new replies.

 * ![](https://ps.w.org/insert-php/assets/icon-256x256.gif?rev=3475630)
 * [Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts](https://wordpress.org/plugins/insert-php/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-php/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-php/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-php/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-php/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-php/reviews/)

## Tags

 * [custom plugin](https://wordpress.org/support/topic-tag/custom-plugin/)
 * [Custom wordpress](https://wordpress.org/support/topic-tag/custom-wordpress/)

 * 2 replies
 * 2 participants
 * Last reply from: [WillBontrager](https://wordpress.org/support/users/willbontrager/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/injecting-multi-step-php-form/#post-7202354)
 * Status: not resolved