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 #488
    In the 488th issue of ProcessWire Weekly we'll check out what's new in the core this week, introduce a new third party module by Neue Rituale, and more. Read on!
    Weekly.pw / 16 September 2023
  • ProcessWire 3.0.226 new main/master version
    After 8 months in development we are excited to bring you ProcessWire 3.0.226 main/master. This version has a ton of great new features, improvements and optimizations, plus more than 100 issue fixes. This post takes an in-depth look at highlights from this great new version.
    Blog / 25 August 2023
  • Subscribe to weekly ProcessWire news

“To Drupal, or to ProcessWire? The million dollar choice. We decided to make an early switch to PW. And in retrospect, ProcessWire was probably the best decision we made. Thanks are due to ProcessWire and the amazing system and set of modules that are in place.” —Unni Krishnan, Founder of PigtailPundits