candl docsOpen candl
Guides / Datasets

Form answers as datasets

Collect answers from candl forms or Formsite straight into a dataset, one row each, and bring in Gravity Forms results from a sheet.

5 min readUpdated 20 Nov 2026Uses example data

Form answers

Answers to a form land in a dataset too, one row each, with no import.

Forms made in candl
Each form saves its answers into a dataset, shown as a Portal form source. A form kept by household account keeps one answer per household; a form answered once for each household copies the answer onto every son.
Formsite
New submissions arrive on their own through Formsite’s Server Post. The full setup is in Settings, Integrations, the Formsite card, Setup guide.

Example: a trip permission form in Formsite

  1. In Formsite, Form Settings, Integrations, Server Post. Use the server URL from candl’s setup guide and Name-value pairs.
  2. Add the parameter candl_dataset=TripPermission. If no dataset has that name, candl creates it with the first answer.
  3. In the form’s Results Labels, label the item that holds the student number exactly student_id. For a form answered once per family, use family_id or Code with the household code instead; candl writes the answer onto each son in the household.
  4. Give every other item a plain label too, or the column names come through as Formsite’s codes.

Server Post only carries answers made after you switch it on. To bring in older ones, attach the form’s smart link on the dataset’s Source and sync tab (Formsite smart link), then use Sync from Formsite on its row. Running it twice does not double the rows.

On the Sharing tab of a form dataset, Notify about new responses picks who gets a notification when an answer comes in.

Gravity Forms results: bring them in yourself

candl does not receive Gravity Forms submissions by itself. Formsite and the forms you build in candl send each response in on their own; a Gravity form (a WordPress form plugin) does not. What candl does with Gravity Forms today is the pre-filled smart link, which opens your Gravity form already filled in. The results of that form, meaning the entries people submit, reach candl only when you bring them in as a dataset from a sheet or a file.

Bring the results in

  1. Get the entries out of WordPress as a table. In Gravity Forms, Forms, Import/Export, Export Entries gives a CSV file. If your web developer already sends new entries to a Google Sheet, use that sheet instead; it stays current without a new file each time.
  2. Make sure one column holds the Student ID, or the household code for a form answered once per family. Add a hidden field to the Gravity form for it, tick Allow field to be populated dynamically and give it a parameter name, then map that name in the smart link, so every submission carries the ID. candl matches on that value, never on names.
  3. In candl, follow Connect a dataset: choose the sheet or CSV, match against Students or Households (members) on that column, and pick One row per student or one per household. A sheet can then sync on a schedule; a CSV is a one-time upload, so upload a new one to add later submissions.

Each submission becomes a row. A person who submitted twice has one row, which the update choice (use the new value, or keep the first) settles; choose the many-rows shape if you want every submission kept. A submission with no ID, or an ID that matches nobody, is left out and counted as No match on the check step, as described in How rows find their person.

Needs your web developer or an administrator. Exporting entries or sending them to a sheet is done in WordPress. Pre-filling the form from candl also needs the form’s API keys, which an administrator sets up once.

Use the results

Once the dataset exists, Gravity Forms results work like any other. The steps are on the pages named here.

Who has not responded
In an audience, Dataset: the name, Has a row, is empty. See Use a dataset.
A student’s or family’s answers
The Forms & data tab on the profile, and Directory filters and columns once you tick Show in the Directory filters.
In an email or text
Each column becomes a merge tag, such as {{GravityTrip:Bus}} (use your dataset’s name).
In a report
Dataset columns are grouped under Forms: on the Reports Columns tab.
Parent portal tasks
A task can finish when the family has a row in the dataset (Dataset Record Exists). See the parent portal guide. With a sheet, it finishes after the next sync, not the moment the family submits.
Send the form out
Use a smart link of type Gravity Forms in an email or text, so each family gets the form with their details filled in.

How it differs from Formsite

  • Same: the dataset, the match on an ID, one row per student or household, and every use above.
  • Different: Formsite answers arrive within about a minute with no file or sheet, and you can see who answered the moment they submit. Gravity results arrive when the sheet syncs or you upload a file. Formsite also notifies staff of each new response; a Gravity dataset has no such notice.

Related: Smart links · Connect a dataset · When it does not work