Documentation
¶
Index ¶
- type Field
- type Form
- func (form *Form) AddCsrfField(value string)
- func (form *Form) AddField(fd *Field)
- func (form *Form) ImportTable(table *orm.Table, tableT *orm.Dictio, extRefs bool, quickList []string, ...)
- func (form *Form) SetupForm()
- func (form *Form) ValidateAllCtx(ctx *fasthttp.RequestCtx) (bool, map[string]string, []string)
- func (form *Form) ValidateAllMap(POST_ map[string]string) (bool, map[string]string, []string)
- func (form *Form) ValidateField(k string, value string) bool
- type UI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Form ¶
type Form struct { Name string Prefix string Required []string DontValidate []string FieldsOrder []string Fields map[string]*Field UIs map[string]*UI Validator validator.Validator }
func (*Form) AddCsrfField ¶
func (*Form) ImportTable ¶
func (*Form) ValidateAllCtx ¶
func (*Form) ValidateAllMap ¶
Click to show internal directories.
Click to hide internal directories.