ProFields: Table field type

This Fieldtype is the first of its kind in that it lets you literally define your own Fieldtype. Think of it kind of like a lean and mean repeater field, with no extra overhead.

You define the fields (and types) that you want use for one or more columns in a table. Behind the scenes, this Fieldtype creates a custom database table for storage. Each column in the database table translates to an HTML table column of inputs present in your page editor. This is ideal for things like rate tables, multi-column lists, inventories and more.

Supported inputs include text, dates, times, selects, checkboxes, radios, emails, URLs and more. Because these inputs translate directly to database columns, they are distinct other Inputfields you may see in ProcessWire. In the admin page editor, the table of inputs is sortable and an unlimited number of rows may be added.

Table is part of the ProcessWire ProFields package available from the ProcessWire Store.

Special thanks to Joss for the voiceover. Please make the video full screen and up the quality to 720p.

Example

Lets say that we're building a website for an architecture firm. Each of the projects in their portfolio needs a section that outlines what awards that project received. We want to maintain the following pieces of information for each award:

  • Award title
  • Award date
  • Category: Architecture, Interior Design, or Engineering
  • Award URL for more info (if available)

The Table Fieldtype/Inputfield enables us to create and manage this easily, all from just one field, with no need to create new templates or pages.

Full documentation and more examples are available in the ProFields support board.

Table is part of the ProcessWire ProFields package available from the ProcessWire Store.

Latest news

  • ProcessWire Weekly #554
    In the 554th issue of ProcessWire Weekly we'll check out the latest core updates, introduce a couple of new third party modules, and more. Read on!
    Weekly.pw / 21 December 2024
  • Custom Fields Module
    This week we look at a new ProFields module named Custom Fields. This module provides a way to rapidly build out ProcessWire fields that contain any number of subfields/properties within them.
    Blog / 30 August 2024
  • Subscribe to weekly ProcessWire news

I just love the easy and intuitive ProcessWire API. ProcessWire rocks!” —Jens Martsch, Web developer