Properties Methods Events Config Options Direct Link
Observable
  BasicForm

Class Ext.form.BasicForm

Package:Ext.form
Defined In:BasicForm.js
Class:BasicForm
Extends:Observable
Supplies the functionality to do "actions" on forms and initialize Ext.form.Field types on existing markup.

By default, Ext Forms are submitted through Ajax, using Ext.form.Action. To enable normal browser submission of an Ext Form, override the Form's onSubmit, and submit methods:

var myForm = new Ext.form.BasicForm("form-el-id", {
        onSubmit: Ext.emptyFn,
        submit: function() {
            this.getEl().dom.submit();
        }
    });

Config Options

Config Options Defined By
  baseParams : Object
Parameters to pass with all requests. e.g. baseParams: {id: '123', foo: 'bar'}.
BasicForm
  fileUpload : Boolean
Set to true if this form is a file upload.
BasicForm
  method : String
The request method to use (GET or POST) for form actions if one isn't supplied in the action options.
BasicForm
  timeout : Number
Timeout for form actions in seconds (default is 30 seconds).
BasicForm
  trackResetOnLoad : Boolean
If set to true, form.reset() resets to the last loaded or setValues() data instead of when the form was first created.
BasicForm
  url : String
The URL to use for form actions if one isn't supplied in the action options.
BasicForm

Public Properties

Property Defined By

Public Methods

Method Defined By

Public Events

Event Defined By