1. #1
    Sencha User
    Join Date
    May 2009
    Posts
    178
    Vote Rating
    2
    TampaBay55 is on a distinguished road

      0  

    Default Access Field Value After Form Load

    Access Field Value After Form Load


    Gurus:

    I need your help with this. I am struggling with concepts and I am not sure if I strayed off course and gone into analysis paralysis. My goal is simple.....assign the value of CLI_RECORDID to a local variable after the form load. I thought I had it earlier but I celebrated too quickly.

    Code:
     var cliRecord = Ext.data.Record.create([
        {name:'CLI_RECORDID'},        
        {name:'CLI_CLIENTCODE'},
      ]);              
      var cliReader = new Ext.data.JsonReader({
        id        :'CLI_RECORDID',
        root      :'RECORD'    
      },cliRecord);         
      var cliRecordID = new Ext.form.Field({
        name      :'CLI_RECORDID',
        hidden    : true
      })
      var cliClientCode = new Ext.form.Field({
        fieldLabel: 'Client Code',
        name      : 'CLI_CLIENTCODE',
        width     : 140    
      });  
      cliFormPanel.on('load',function(){
        var cliDataID = ???????  <============Everything I've tried here has led me to disappointment.
      };
      cliFormPanel.getForm().load({
         url:'clidatahandler.json',
         method: 'GET',
         waitMsg:'Loading Data...'
      });
    I throw myself on your mercy. Thanks.

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,501
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    What... what what on EARTH are you attempting with all that random code?

    What are those first 17 lines there for???

    According to the API docs, what events do FormPanel and BasicForm expose?

    Hint: Use the "Hide Inherited Members" button to filter out inherited members.

    Which event do yoiu think might be useful?

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