Formex v0.6.7 API Reference

Modules

Helpers for controller. Imports Formex.Builder. Probably you are looking for Formex.Builder.create_form/5

A behaviour module for implementing the custom field

Form collections

form
|> add(:user_info, :nested, type: App.UserInfoType, struct_module: App.UserInfo)

Use this module to create a custom form template

The Bootstrap 3 basic template

In order to create a form, you need to create the Type file. It’s similar to Symfony’s way of creating forms

Validator behaviour

Very simple validator

Helper functions for templating

Helper functions for templating collection of forms

Helper functions for templating nested form

Protocols