1. #1
    Sencha User
    Join Date
    Sep 2010
    Posts
    121
    Vote Rating
    0
    chuvinha is on a distinguished road

      0  

    Default Pass field how parameter from getForm().submit({

    Pass field how parameter from getForm().submit({


    Hi guys, I am trying to pass the field idProduto how parameter for my action, but it wasn't work.
    I am able to pass every fields, but this I am not able.
    I am doing equal the others, because I get the field's value from name.
    This field doesn't appear from windows. So I put hidden his.

    HTML Code:
    [LEFT]var fieldIdProduto = new Ext.form.TextField( {
    id: 'campoIdProdutoCurrent',
    name : 'idProduto',
    disabled : true,
    allowBlank : true,
    hidden : true,
    anchor : '100%'[/LEFT]
    });
    Could someone help me?

  2. #2
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    79
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    disabled fields do not get submitted.

  3. #3
    Ext User
    Join Date
    Dec 2008
    Posts
    26
    Vote Rating
    0
    pimo is on a distinguished road

      0  

    Default Hi

    Hi


    Add this line in your code
    ,hiddenName:'idProduto'

  4. #4
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    79
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    Quote Originally Posted by pimo View Post
    Add this line in your code
    ,hiddenName:'idProduto'

    hiddenName is not a config option for text fields. Only combo boxes.

  5. #5
    Sencha User
    Join Date
    Sep 2010
    Posts
    121
    Vote Rating
    0
    chuvinha is on a distinguished road

      0  

    Default


    Hi guys, I took the disable of field and it was work.
    Thanks friends =))

  6. #6
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    79
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    if you just need a hidden field, just use xtype hidden instead of textfield.

Similar Threads

  1. formpanel.getform().submit() doesnot pass any data
    By pegasus in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 11 Nov 2009, 3:13 PM
  2. How to pass parameter from php to js ??
    By nuinisk in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 17 Apr 2009, 3:33 PM
  3. field datefield pass parameter for php 1982-12-25T00:00:00
    By Rafael in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 24 Feb 2009, 2:00 PM
  4. Pass extra parameter on form submit
    By Erik Helin in forum Ext 2.x: Help & Discussion
    Replies: 14
    Last Post: 31 Aug 2008, 6:43 AM
  5. How can Pass More Than one parameter from combobox
    By golla.sudheerkumar in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 11 Apr 2008, 6:40 AM

Thread Participants: 2

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