DOC-Element:form

From Plex-XML
Jump to: navigation, search

Contents

Description

one of the most important elements. if it is a child of a <grid> than it is used as a search form, otherwise it is used as a data entry form.

Attributes

  • method : set the form method to POST or GET
  • type : should be set to "gridform" when this form is part of a grid
  • name : name of the form to submit which is most times a name of a PlexXML-Webrequest
  • disabled : true to display the form disabled ( used when displaying confirm Dialog Boxes)
  • enctype : used for File Upload Forms , e.g. "enctype=multipart/form-data"
  • onsubmit : overrides the default submit action
  • target : display the result in another window
  • targetWidth : in conjunction with @target to set the window width
  • targetHeight : in conjunction with @target to set the window height
  • ajaxForm : defaults to true , can be overridden here ( Uploads are never Ajax-Forms)

Child Elements

TODO ...

Parent Elements

Hints

  • TODO check why we do not allow Ajax for Uploads
  • TODO check why we neet the 'type="gridform"' attribute within grids
Personal tools