Formcrafts - a form and survey platform for Salesforce, HubSpot, etc
  1. Templates
    1. All templates illustration
      All templates
    2. Application forms illustration
      Application forms
    3. Calculation forms illustration
      Calculation forms
    4. Lead generation forms illustration
      Lead generation forms
    5. Customer service illustration
      Customer service
    6. Evaluation forms illustration
      Evaluation forms
    7. Survey and feedback illustration
      Survey and feedback
    8. Operations forms illustration
      Operations forms
    9. Payment forms illustration
      Payment forms
    10. Booking and registration illustration
      Booking and registration
    11. Salesforce forms illustration
      Salesforce forms
    12. Other forms illustration
      Other forms
  2. Features
    1. 18 Form Fields illustration
      18 Form Fields
    2. 19 Integrations illustration
      19 Integrations
    3. Conditional Logic illustration
      Conditional Logic
    4. Multi-step Forms illustration
      Multi-step Forms
    5. Calculations illustration
      Calculations
    6. Partial Submissions illustration
      Partial Submissions
    7. Save & Resume illustration
      Save & Resume
    8. Payments illustration
      Payments
    9. Hidden Fields illustration
      Hidden Fields
    10. Engagement analysis illustration
      Engagement analysis
    11. Dynamic Dropdowns illustration
      Dynamic Dropdowns
    12. Dynamic Checkboxes illustration
      Dynamic Checkboxes
    13. Dynamic Tables illustration
      Dynamic Tables
    14. Multilingual forms illustration
      Multilingual forms
  3. Pricing
  4. Help
  5. Login
  6. Signup
    →
  • Help index
  • Features
    • Conditional logic
    • Prefill forms
    • Multi-step forms
    • Calculations
    • Partial submissions
    • Field references
    • Save and resume
    • Hidden fields
    • Dynamic lookup
    • Dynamic tables
    • Dynamic multiple choice
    • Dynamic dropdowns
    • Workflows
    • Multilingual forms
    • Privacy mode
    • Success message
    • Form redirect
    • GA/GTM
    • Accept payments
    • Linked forms
    • Disable form
  • Styling
    • Custom CSS
    • Custom fonts
    • Color scheme
    • Form background
  • Analytics
    • Test mode
    • Overview
    • Field analytics
    • Form engagement
  • Workflows
    • Send emails
    • Form redirect
    • Success message
    • Webhooks
    • Create PDF
    • ActiveCampaign
    • Asana
    • Mailchimp
    • Front app
    • Freshdesk
    • Google Sheets
    • Pipedrive
    • Linear
    • Klaviyo
  • Sharing
    • Custom form link
    • Embed on a page (inline)
    • Embed on a page (popup)
    • Embed in emails
    • Embed on WordPress
    • Embed on Shopify
    • Embed on Squarespace
  • Salesforce
    • Overview
    • Create records
    • Create multiple records
    • Update records
    • Related records
    • Dynamic picklists
    • Dynamic checkboxes
    • Dynamic tables
    • Attach files
    • Create PDFs
    • Form prefill
    • Experience Cloud Embed
    • Record Page Embed
  • HubSpot
    • Overview
    • Create contact form
    • Create lead capture form
    • Create customer survey
    • Prefill HubSpot form
    • Embed on HubSpot page
    • Uninstall
  • Zendesk
    • Create ticket form
    • Create CSAT survey
    • Embed on Help Center
    • Prefill ticket form
  • Admin
    • Users
    • Custom domain
    • Custom email domain
    • Vanity subdomain
    • Subscription
  • Developers
    • Embed Library
    • API keys
    • API v1
    • API v2
  • Others
    • Partner program
    • GDPR compliance
    • Workflow logs
    • White labeling
    • Using JSONPath
    • Form speed
    • Zapier
    • Entity Change Notice
  • Contact
  1. Help
  2. ›
    Features
  3. ›
    Dynamic tables

Dynamic Tables

On this page
  1. Introduction
  2. Column types
  3. Row source
    1. Variable rows
    2. Fixed rows
    3. Remote URL
    4. Salesforce
    5. Google Sheets

Introduction

The table entry field allows you to collect structured data in a spreadsheet-like format. Here are some features at a glance:

  • Fixed or variable rows: Allow users to add or remove rows dynamically, or keep a fixed number of rows with pre-defined values.
  • Different input types: Text, numeric, dropdown, date, formula, and read-only text columns.
  • Use math formulas: Use the formula column type to add form calculations based on other columns in the same row.
  • Fetch data from remote source: Populate some table columns from an external API, Salesforce, or Google Sheets.
  • Update rows based on user input: Use lookup rules to filter remote data based on other form field values.
Dynamic table field with formula columns, and remote data source

Here are some real-world examples of using dynamic tables:

  1. A variable-row purchase order form where users can add multiple line items with quantities and prices.
  2. A variable-row expense report form where users can add multiple expense entries with categories, amounts, and dates.
  3. Inventory update form where the list of products is fetched from an external API and users can update stock levels.

Let’s dive in.

Column types

Tables support six different column types:

  • Input: Standard text input for free-form text entry.
  • Numeric: Numeric-only input that optionally allows decimal values.
  • Dropdown: Offer a predefined list of options in a dropdown menu.
  • Date: Date selection with customizable format.
  • Text: Read-only column that displays static text or data fetched from a remote source.
  • Formula: Read-only column that displays calculated values based on other columns in the same row. Some use-cases:
    • Total price: Multiply quantity and unit price columns to get the total price for each line item.
    • Discounted price: Apply a percentage discount to the price column.
    • Conditional values: Use IF statements to display different values based on other column inputs.
    • Learn more about supported functions →

Row source

Tables support five different row sources, each designed for specific use cases:

Variable rows

Variable rows allow users to add and remove rows as needed. You can specify a default row count, and users can dynamically add more rows by clicking an “Add row” button.

Note: If your table has ‘text’ or ‘formula’ columns with pre-set values, those values will be the same for all rows in variable row mode.

Variable rows with dynamic addition and deletion of rows

Fixed rows

Fixed rows display a predetermined number of rows that users cannot add or remove.

Note: In fixed row mode, you can set different default values for ‘text’ and ‘formula’ columns for each row.

Fixed rows with pre-defined text columns

Remote URL

Fetch table data from any external API endpoint that returns JSON data. This is the most flexible option for integrating with third-party services.

Configuration options:

  • Remote URL: Endpoint to fetch data from (supports dynamic parameters so you can reference other form fields using the @ key)
  • Authorization header (Optional) Bearer token or Basic auth
  • Option List Path: JSONPath expression to extract the array of data objects
  • Column mapping: Map table columns to fields in the returned data

Test configuration

  • Remote URL: https://api.formcrafts.com/public/options?type=inventory
  • Option List Path: $.data[*]
  • Column mapping: $.label and $.value

The Remote URL mode sends a POST request to your endpoint with the current form values, allowing you to return dynamic data based on user input.

Learn more about JSONPath syntax →

Salesforce

Learn more about creating dynamic tables with Salesforce →

Google Sheets

Fetch table data from a Google Sheets spreadsheet.

Configuration options:

  • Spreadsheet file: Select your Google Sheets file
  • Sheet: Select the specific sheet within the spreadsheet
  • Filter rules: Use form field values to filter rows from the sheet
  • Column mapping: Map table columns to spreadsheet columns
Minimal, fast, and powerful. Try now.
Formcrafts - a form and survey platform for Salesforce, HubSpot, etc

Bodhweb GmbH,
Moltkestraße 105,
40479 Düsseldorf

Salesforce AppExchange partner logo HubSpot app partner logo
Templates
Application formsLead generation formsSurvey & feedback formsEvaluation formsSupport request formsBooking & registrationContact forms
Comparisons
vs AllFormAssemblyTypeformJotformWufooSurveyMonkey
Features
Conditional logicSalesforce formsHubSpot formsZendesk ticket formsEmail formsIntegrationsForm fields
Resources
Help centerBlogDeveloper APIGDPRStatusReport abuseContact us
Company
About usNonprofitCase studiesSecurityTerms and privacyImpressum