PDA

View Full Version : Best example for building an auto-submitting form?



gregorypierce
30 Nov 2010, 12:12 PM
I have been going through the old ExtJS documentation as well as the new Sencha documentation and I'm a little confused because there are new approaches in SenchaTouch that are cleaner and more efficient than Ext3.x. One area where I'm looking for clarity is form submission.

Lets say I have a simple application where you provide some search information on one (Ext.Panel)and then when the data arrives you animate over to another Ext.Panel). To accomplish this I am assuming that the appropriate way to do this is by creating a root panel with a card layout and then just moving between the cards. With traditional ExtJS I would create a button and a handler for that button and it would be smooth sailing. However in mobile (on iOS) the keyboard has a Go button but I don't see a way to define a handler for the FormPanel itself.

mrsunshine
30 Nov 2010, 12:50 PM
i don't get it :-)

what do you want to do?

submit a form without a button?

that can you do by example listen to the blur or change events of the fields