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.

Twitter updates

    Error retrieving Twitter status

Latest news

  • ProcessWire Weekly #471
    In the 471st issue of ProcessWire Weekly we're going to check out the latest core updates, introduce a new third party textformatter module for video embedding, and more. Read on!
    Weekly.pw / 20 May 2023
  • A look at the new Page Edit Restore module
    The new Page Edit Restore module helps to prevent page edits in the admin from getting lost when the user’s session is lost. This post covers it in detail.
    Blog / 12 May 2023
  • Subscribe to weekly ProcessWire news

“I am currently managing a ProcessWire site with 2 million+ pages. It’s admirably fast, and much, much faster than any other CMS we tested.” —Nickie, Web developer