Home ›  Tap Forms Pro ›  Script Library ›  Generate Field Description ▾ 

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


Do you like this script? Are you using it? Please consider supporting me by buying me a coffee!

Buy Me Coffee Link

Thanks!


Last modified: Apr 5, 2026 1:52:01 PM


Tap Forms Consulting

Do you need help writing scripts for your Tap Forms Pro database? I'm happy to help you. Contact me to discuss your idea or project.


Web Design Consulting

Do you need help designing your web site or getting Backlight working the way you want? Contact me to discuss your needs.


Buy me a Coffee

If you like what I share here, please consider buying me a coffee or a print. This helps keeping me motivated to continue posting. Thank you!

Buy Me A Coffee