DOCUMENTATION

  • Developer
  • Settings
Search »

Arbitrary Settings

This module is for developers only. You will need PHP knowledge to make use of this script.

Example Arbitrary Settings
Example Arbitrary Settings
The Arbitrary Settings module is something of an oddity. Unlike the other modules, it doesn't directly DO anything with Form Tools: all it does it let you add a section at the bottom of the Settings -> Main tab, where you can define you own settings for storage in the Form Tools database. What do those settings contain and do? Anything you want.

So what's the point?

The point is to allow you to open up Form Tools to store arbitrary data that you can use outside of the script. Maybe an example would help...

One of our clients that is using Form Tools to display submission data on their site. Every year, they need their custom PHP page to be updating again and again, for each year's form ID (and other settings). Each year I manually update the form ID on that page, the number of submissions that get displayed on the page and other minor little things. Since our client isn't technical, they are unable to do this themselves.

But now, with this module, they can just edit the values with Form Tools itself: which saves us time, and them money. Basically it lets you use Form Tools to store "global" data, configurable by the clients through a few simple fields. Then, you reference those values in your own PHP files. The result? No more bothersome updates...! The client does it themselves.