Developer Area/Pieforms

From Mahara Wiki
< Developer Area
Revision as of 12:54, 20 March 2015 by Robertl (talk | contribs) (Created page with "== Form basics == '''Each form needs to contain:''' * '''name''' - And that name must be valid (validity test: could you give a PHP function the name?) Each form can contain: …")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Form basics

Each form needs to contain:

  • name - And that name must be valid (validity test: could you give a PHP function the name?)

Each form can contain:

  • method - Can be empty or 'post' as each form will pass the session key and we can't do that via 'get'
  • action - Can be empty (defaults to self) or page url
  • elements - An array of form elements to display (see Elements)

... more info to come soon