Flexiform


How to build powerful, simple, 
multiple entity create/edit forms in Drupal 7



http://drupal.org/project/flexiform

Yan Loetzer (yanniboi)
@yanni_boi

We All Use Forms


Drupal forms are:

  • Powerful
  • Flexible
  • Extendible

Great!


...and so are the Form API references

There are different ways to Write these Forms



  • Custom code
  • Webform module
  • Entityform module
  • Form Builder module
  • Quick Forms (qforms) module


And many others...







 FIGHT!! 




Webform

Pros

  • Has been around for a long time
  • Lots of form elements to choose from

Cons

  • Submissions aren't stored as entities
  • Requires lots of Contrib modules
  • Difficult to integrate with other modules
  • Cannot edit entities using the web forms
  • Drupal 8?

Entityforms


Pros

  • Uses the entity API
  • Use any provided field types for entities
  • Integrates with other 'entity' based modules
  • Entityform is fairly well established.

Cons

  • Cannot edit (other) entities using the web forms
  • You can only have one form for each bundle.
  • Can't add custom markup to forms.

What I want!


  • Create and edit entities on form submission
  • Use fields from multiple entities
  • Build multiple forms for same entities
  • Add blocks and custom html to forms/submissions





In short...







 Lets see some action!! 





Thank you


How to build powerful, simple, 
multiple entity create/edit forms in Drupal 7



http://drupal.org/project/flexiform

Yan Loetzer (yanniboi)
@yanni_boi