# Plugin development: Forms

I'm embarking on my first plugin build.

The docs are OK, but lacking in some areas or maybe I'm just looking in the wrong place.

The settings page allows you to define any settings and when rending out the template view, pass through those settings. http://buildwithcraft.com/docs/plugins/plugin-settings

It makes sense that all of the settings are going to be form fields. Where's the documentation for form helpers?

Looking around at other plugins I can see an include to Craft's form templates.

{% import "_includes/forms" as forms %}


Where's the docs on how to use these form fields? Is this a Twig thing and I should be looking at those docs? Any help would be appreciated.

• The import statement loads the forms.html file located at craft/templates/_includes/forms.html. In that file you'll find lots of other related form files and macros to explore. – Ben Parizek Aug 11 '15 at 19:04

There currently aren't any docs for _includes/forms... you'll need to backwards engineer it. You'll notice some common patterns as you dig in there, which gives great insight into the overall Craft structure.