I Used Drupal Core and the Form API to Build a Mind Reading Machine


  • Christian Knoebel

How this mediocre developer wrangled core Drupal 8 APIs to build a survey app that measures customer needs in three dimensions and show the results on a snazzy dashboard.

I will discuss how to programmatically:

  • Create forms that dynamically pull random values from node fields
  • Use hidden values and fields to record survey responses and fight spam
  • Save results to a custom table and retrieve them
  • Manage form caching
  • Validate submissions
  • Manipulate forms with JavaScript/jQuery

Plus, get this bonus: How to show your data using Google Charts API.

Who Should Attend

  • Back-end Developers
  • Decision Makers
  • Site Builders


Rudimentary understanding of how to create a Drupal 8 module; comfort working with PHP and jQuery and seeing them demonstrated in a presentation.