Forms

Overview

Forms are pretty straight forward and flexible. NomadPhp forms are design with html in mind and therefore provides standard html form elements such as text, textarea, radio, select lists, and more. Each element is given a unique name and can be assigned validators and filters. You may also assign attributes to your elements.

NomadPhp begins to take-on an event driven design with form handlers. You assign one or multiple success and failure handlers to your forms that are run under when the form succeeds or fails, respectively. This helps keep the form handling logic contained and outside of the controller.


Work in progress.