Adding a Single Page Form with the API

This tutorial explains how to integrate the Form Tools API functions to submit a single-page form. There are a number of benefits to using the API for single-page forms, including: the option to add server-side (PHP) validation and the option to display a CAPTCHA in your form using the API Recaptcha function.

Assumptions

  1. You have already created your web form and a simple "thankyou" page where the user will be directed to after a successful submission.
  2. The pages are accessible via a web browser on a server running PHP.
Edit Page