Skip to content

How to Setup a New RenderMethod

Justin Campo edited this page Oct 24, 2015 · 1 revision
  1. Add the new renderMethod to $Form->itemTypesRenderMethod. Please realize that these values correspond to $Form->item (keys sync)
  2. Add the new renderMethod to the validation method (assigning $requiredAttributes and $prohibitedItemAttributes)
  3. Add the new renderMethod to the render method (switch ($item["renderMethod"]))
Clone this wiki locally