# GeoExt

### Navigation

- GeoExt »
- API Reference »
- Widgets »
- `GeoExt.form.BasicForm`

# `GeoExt.form.BasicForm`

Extends
  - Ext.form.BasicForm

class `GeoExt.form.``BasicForm`(config)

  A specific `Ext.form.BasicForm` whose doAction method creates a `GeoExt.form.SearchAction` if it is passed the string “search” as its first argument.

  In most cases one would not use this class directly, but `GeoExt.form.FormPanel` instead.

## Public Methods

Public methods in addition to those listed for Ext.form.BasicForm.

`BasicForm.``doAction`()

  Parameters: | action – `String or Ext.form.Action` Either the name of the action or a `Ext.form.Action` instance. options – `Object` The options passed to the Action constructor.
  Returns: | `GeoExt.form.BasicForm` This form.

  Performs the action, if the string “search” is passed as the first argument then a `GeoExt.form.SearchAction` is created.

`BasicForm.``search`()

  Parameter: | options – `Object` The options passed to the Action constructor.
  Returns: | `GeoExt.form.BasicForm` This form.

  Shortcut to do a search action.

### Navigation

- index
- modules |
- next |
- previous |
- GeoExt »
- API Reference »
- Widgets »
- `GeoExt.form.BasicForm`