1. #1
    Sencha User
    Join Date
    Mar 2007
    Vote Rating
    rbudisa is on a distinguished road


    Default Clickable Form Textfiled Label

    Clickable Form Textfiled Label

    I have a form in a 2 column layout with 12 fields and I'd like to be able to fire / handle a field specific event when a user clicks. Is there a way to convert the field label into a text hyperlink? Should I use an action here next to the label? a button? Users prefer this to be next to the textfields rather than in the toolbar.
    Any suggestions welcome.


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



    Add a click handler to the Panel's body Element.

    In the handler, check that the event is fired from a label:

    labelClickHandler: function(e) {
        var t = e.getTarget('label');
        if (t) {
    //      Access the form Field.
            var f = Ext.getCmp(t.for);
    See http://extjs.com/deploy/dev/docs/?cl...mber=getTarget

    You can add :hover rules to your stylesheet to give the labels some kind of indication that they are live (In modern browsers... and they are certainly what we target, they are free to download).


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