1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    4
    Vote Rating
    0
    lipepe is on a distinguished road

      0  

    Default Answered: Datepickerfield

    Answered: Datepickerfield


    Hello my friends !

    I am facing a problem with blur event in datepickerfield.
    I need to calculate the date and see if the person have 18- years when my date lost focus. But blur event never is fired.

    Is there anything that I have to do to make it works ?

    Thanks.

    Felipe

  2. Hi lipepe,
    Try the code give below. you can do the same you want to do in change event of datepickerfield.

    Code:
    Ext.create('Ext.form.Panel', {
        fullscreen: true,
        items: [
            {
                xtype: 'fieldset',
                items: [
                    {
                        xtype: 'datepickerfield',
                        label: 'Birthday',
                        name: 'birthday',
                        listeners:{
                        	change:function(){
                            	alert('event fired.');
                            }
                        }
                    }
                ]
            }
        ]
    });

  3. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Answers
    124
    Vote Rating
    85
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      1  

    Default


    Hi lipepe,
    Try the code give below. you can do the same you want to do in change event of datepickerfield.

    Code:
    Ext.create('Ext.form.Panel', {
        fullscreen: true,
        items: [
            {
                xtype: 'fieldset',
                items: [
                    {
                        xtype: 'datepickerfield',
                        label: 'Birthday',
                        name: 'birthday',
                        listeners:{
                        	change:function(){
                            	alert('event fired.');
                            }
                        }
                    }
                ]
            }
        ]
    });
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  4. #3
    Sencha User
    Join Date
    Sep 2011
    Posts
    4
    Vote Rating
    0
    lipepe is on a distinguished road

      0  

    Default Thanks

    Thanks


    Thanks my friend. I'll try this code !

Thread Participants: 1

Tags for this Thread

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..."