Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
54 lines (44 sloc) 1.97 KB
layout: default
navPage: docs
heading: Arbitrary Settings
- Modules,/modules
- Arbitrary Settings
next: Creating the Settings,/modules/arbitrary_settings/creating
categories: modules
tags: developer,settings
{% include open_section.html nav='nav_module_arbitrary_settings.html' selected='introduction' %}
<p class="alert alert-info">
This module is for developers only. You will need PHP knowledge to make use of this script.
{% include screenshot.html item="i355.gif" %}
The <i>Arbitrary Settings</i> 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 -&gt; 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.
<h4>So what's the point?</h4>
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
But now, with this module, they can just edit the values with Form Tools itself:
which saves <i>us</i> time, and <i>them</i> 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.
{% include close_section.html %}