DOCUMENTATION

Search »

Form Builder

Importing and Exporting Template Sets

We will soon be working on a new Shared Resource module / service to allow easy sharing of assorted Form Tools data: form configurations, Option Lists and Form Builder template sets. But until that is completed, the only way to import and export your Template Set data is manually, as described below.

Exporting your Template Set

If you want to copy one of your Template Sets to another Form Tools installation, you need to export it. Here's how it works.

  1. Log into Form Tools and go to your Modules page. There, select the Form Builder. The page that appears will list all of your Template Sets.
  2. Mouse-over the "edit" icon for the Template Set you want to export (but don't click it). You should see the URL appear in your browser status bar. Make a note of the number for the template set ID (the X): ?page=info&set_id=X
  3. In the URL of the current page, add the following query string and click <enter>: ?export=X (where X is the Template Set ID that you spotted in the previous step).
  4. After you click enter, you’ll see some generated PHP appear inside a full-page textarea. Copy the generated PHP and save the file as your_template_name.php. You've exported your Template Set!

Importing a Template Set

  1. With your FTP client, upload your template set PHP file to the /modules/form_builder/share folder.
  2. Log into Form Tools and go to your Modules page. There, select the Form Builder. The page that appears will list all of your Template Sets.
  3. In the URL of the current page, add the following query string and click <enter>: ?import=your_template_set_filename.php (replace the "your_template_set_filename.php" with the actual name of your file).
  4. Click <enter> in the browser toolbar to load the page and import your Template Set.