DOCUMENTATION

Search »

Adding a single-page form with the API

This tutorial is for version 1.x of the API, which is for Form Tools 2. If you're using Form Tools 3, please check out this tutorial instead.

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.