Web lists-archives.com

Re: [PHP] 'Form Builder'

In order to build forms automatically, we developed a library that can
build HTML forms automatically from the schema and can handle the


The schema is something look like this:

class YourAction extends \ActionKit\Action{    function schema() {
   $this->param('id')            ->renderAs('HiddenInput');
$this->param('password')            ->renderAs('PasswordInput');
 $this->filterOut('hack','hack2','role');    }

Once you defined the schema, the server side can handle the input
validation and data processing.

The underlaying part is FormKit, which provides fluent API to build
widgets, and you can choose different layout class to layout your widgets:


Best Regards,

Yo-An Lin