1. #1
    Sencha User
    Join Date
    Jan 2008
    Posts
    240
    Vote Rating
    0
    OutpostMM is on a distinguished road

      0  

    Default [Solved]Form validation tooltips not showing up

    [Solved]Form validation tooltips not showing up


    I'm having problems getting form validation error messages to show up if I use an on-hover method. If I set the msgTarget to under I see the messages, but if I use side or qtip I don't see anything on hover.

    Code:
    var frm = new Ext.FormPanel({
      frame:true,
      labelWidth: 50,
      method: 'post',
      items: [{
        layout:'column',
        items:[{
          columnWidth:.6,
          layout: 'form',
          bodyStyle: 'padding-left: 40px',
          defaults: {msgTarget: 'side'},
          items: [{
            xtype:'datefield',
            width: 150,
            fieldLabel: 'Date',
            name: 'score_date',
            allowBlank: false,
            minValue: new Date(2008, 0, 1),
            maxValue: new Date(),
            emptyText: 'Choose a date...'
          }, {
            xtype: 'combo',
            width: 150,
            fieldLabel: 'Course',
            hiddenName: 'score_course',
            forceSelection: true,
            typeAhead: true,
            allowBlank: false,
            store: course_store,
            displayField: 'name',
            valueField: 'id',
            mode: 'local',
            emptyText: 'Choose a course...'
          }, {
            xtype: 'combo',
            width: 150,
            fieldLabel: 'Player 1',
            hiddenName: 'score_player1',
            forceSelection: true,
            typeAhead: true,
            allowBlank: false,
            store: player_store,
            displayField: 'name',
            valueField: 'id',
            mode: 'local'
          }]
        },{
          columnWidth:.4,
          layout: 'form',
          bodyStyle: 'margin-top: 52px',
          defaults: {msgTarget: 'side'},
          items: [{
            xtype:'textfield',
            fieldLabel: 'Score',
            name: 'score_score1',
            width: 40,
            maxLength: 3,
            allowBlank: false
          }]
        }]
      }],
      
      buttons: [{
        text: 'Save',
        handler: function(){
          frm.getForm().submit({url:'log_req.php', params: {page_mode: 'record_scores'}, waitMsg:'Saving Data...'});
        }
      }
    });

  2. #2
    Ext User philrl9's Avatar
    Join Date
    Jan 2008
    Posts
    18
    Vote Rating
    0
    philrl9 is on a distinguished road

      0  

    Default Enable Quick Tips

    Enable Quick Tips


    I'm fairly new but was having the same problem. Initializing QuickTips fixed it for me:

    Code:
    Ext.QuickTips.init();
    Ext.form.Field.prototype.msgTarget = 'side'; // Set default message target

  3. #3
    Sencha User
    Join Date
    Jan 2008
    Posts
    240
    Vote Rating
    0
    OutpostMM is on a distinguished road

      0  

    Default


    Perfect, thanks.

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