DOCUMENTATION

API

About the API

Download The API releases are all found on github.

The goal of the API is to provide communication between Form Tools and the outside world. It contains functionality for tasks such as submitting form submissions via PHP code rather than POSTing in the information to process.php, accessing and display Form Tools data in your own webpages, managing client accounts via code rather than the Form Tools interface and other such helpful functionality.

The Form Tools API files should be placed in your [form tools root]/global/api/ folder.

Depending on the needs and requests of users, additional functions are likely to be added to this file.

Requirements

  1. Form Tools must be installed on your server
  2. It can only be called within a PHP page on the same server as your Form Tools installation
  3. It requires the /global/api/api.php file to have been included in your page

How to use it

In order to use the API functions you must include the api.php file in your web page BEFORE the function call. You only need to include this line once. The path must be  edited for the location of your api.php file on your server. It can be a relative or absolute link.