1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    62
    Vote Rating
    0
    sendy is on a distinguished road

      0  

    Default Get username value once the user is logged in

    Get username value once the user is logged in


    I have login form with username and password.
    I want to get the value of Username to use it later?
    I tried this:
    usernameField = Ext.getCmp('userNameTextField');
    username = usernameField.getValue(); //It render an empty string
    how can I access this value?
    Any help please?

  2. #2
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Berne, Switzerland
    Posts
    698
    Vote Rating
    40
    ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about

      0  

    Default


    There are several possibilities how to do this. It all depends on how your app is written. Do you use MVC style? Can you post some more code? F.e. the login form and the part where you want to retrieve the username?

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar