<p>I've been trying to submit a form with the FormPanel using the Action class Ext defaults to. However, I'd like it to consider the response as a script, not JSON-encoded.</p>

<p>Has anyone had any experience on this?</p>

The best plan would be to create a custom action by extending
```
Ext.form.Action
```
.
You can then
```
eval
```
the
```
response
```
object or the
```
result
```
object in the
```
success
```
callback of your custom action.
Your custom action can be called from
```
Ext.form.BasicForm
```
in the usual way.