Category: Script Library
Generate Field Description
Are you as lazy as I am and don't bother entering field descriptions in your Tap Forms Pro forms? Here's a solution for you!
Field Description Generator fetches all fields from a user-selected form, calls ChatGPT to propose descriptions, and displays an editable table in the system browser via htmlPrompter. Accepted descriptions are committed back to the form fields via a tfpro:// callback.
Usage
Run the script directly from the Scripts menu, the scripts inspector panel or via keyboard shortcut. A ChatGPT API key must be configured in App Settings > AI Integration for the script to work.
A picklist prompts the user to select a form. The script then calls ChatGPT with the form name, document name, and field list as context, and proposes a short description for each field. Fields with no name (e.g. separators) are skipped automatically.
The results are shown in the system browser as an editable table with four columns: field name, field type, current description, and proposed description. The proposed descriptions can be edited before committing.
The script operates in two modes:
Interactive mode — launched from TFP. Prompts for a form, calls ChatGPT, and opens the editable HTML table in the system browser.
Callback mode — triggered automatically when the user clicks Commit Descriptions in the browser. Receives the form ID and edited field data as URL parameters, writes the descriptions to the fields, and saves.
Installation
The Field Description Generator script is installed using the scriptHandler script. It is installed in the scriptHandler form.
Dependencies
- prompterHelper
- htmlPrompter
- TF API Extensions
ChangeLog
Link to ChangeLog
Author
- Daniel Leu, info@danielleu.com
Do you like this script? Are you using it? Please consider supporting me by buying me a coffee!
Thanks!
Last modified: Apr 5, 2026 1:52:01 PM
