1. #1
    Ext User
    Join Date
    Nov 2008
    Posts
    2
    Vote Rating
    0
    Lolka is on a distinguished road

      0  

    Default FormPanel default submit action

    FormPanel default submit action


    Hi,
    I use FormPanel and custom handler.
    Is it possible to specify default "submit button" -- when user press Enter button on Form?
    My FP looks like this:
    Code:
    new Ext.FormPanel({
    ... panel config ...
    items: [
    {xtype:'textfield', fieldLabel: 'Somelabel', name: 'somename'},
    ...
    buttons: [{id: "search_button", text: 'Search', handler: function(b, e) { ... };
    ...
    I want "search_button" to be "default submit action" for my FP.
    Thanks.

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    89
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    You could use submitOnEnter.

Similar Threads

  1. FormPanel submit action doesn't send form fields
    By errd in forum Ext 3.x: Help & Discussion
    Replies: 8
    Last Post: 6 Apr 2011, 8:08 AM
  2. FormPanel default key action
    By gslender in forum Ext GWT: Help & Discussion (1.x)
    Replies: 2
    Last Post: 26 Apr 2008, 3:05 PM
  3. flaw in submit action action.result
    By wisecounselor in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 26 Mar 2008, 12:23 PM
  4. Replies: 8
    Last Post: 12 Mar 2008, 1:24 AM
  5. Default Notes Web Action Bar
    By mdm-adph in forum Ext.nd for Notes/Domino
    Replies: 8
    Last Post: 4 Jun 2007, 7:04 AM

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi