View Full Version : FormPanel ignoring URL attribute

29 Nov 2010, 3:29 PM
I am trying to create a very simple search form. The form is created and showing up on the page. But when I submit the form it always submits to the same page. I have tried setting to 'url' attribute but this doesn't work. I am using Sencha Touch 1.0.

var search = new Ext.form.Search({
name: 'searchfield',
centered: true,
autoCapitalize: true,
width: 300,
name: 'keys',
placeHolder: 'Search..',

var form = new Ext.form.FormPanel({
standardSubmit: true,
submitOnAction: true,
url: "/search/page/",
items: [