Results 1 to 3 of 3

Thread: Mozilla save password

  1. #1

    Default Mozilla save password

    Hello everybody,
    I am having a problem with Mozilla save password option.
    For example, in my application other than login I have other forms also which are inside of application with username and passwords. So in the Mozilla, while logging into the application if I'm saving the password, then inside of application whatever the forms with username having are also remembering that username and password. But I don't want that.
    Is there any solution for this ...? Please help me

  2. #2
    Sencha Premium User
    Join Date
    Feb 2010
    Location
    Chicago
    Posts
    72

    Default

    You could try adding two hidden items before your actual fields. A quick example that might work:

    Code:
    Ext.create('Ext.form.Panel', {
        title       : 'Simple Form',
        bodyPadding : 5,
        width       : 350,
        layout      : 'anchor',
        defaults    : {
            anchor : '100%'
        },
        defaultType : 'textfield',
        items       : [{
            xtype  : 'component',
            hidden : true,
            html   : '<input id="' + Ext.id() + '" type="text" style="display:none;" value="" name="user"></input>'
        }, {
            xtype  : 'component',
            hidden : true,
            html   : '<input id="' + Ext.id() + '" type="password" style="display:none;" value="" name="password"></input>'
        }, {
            fieldLabel : 'User Id',
            name       : 'user',
            allowBlank : false
        }, {
            fieldLabel : 'Password',
            name       : 'password',
            inputType  : 'password',
            allowBlank : false
        }],
        buttons     : [{
            text     : 'Submit',
            formBind : true,
            disabled : true,
            handler  : function () {
                // do submit
            }
        }],
        renderTo    : Ext.getBody()
    });

  3. #3

    Default

    Thank you @ Johnny Major

Similar Threads

  1. disable save password functionality
    By rafmak1 in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 24 Mar 2016, 2:02 AM
  2. How to save your login and password in the local memory
    By samaelal in forum Sencha Touch 2.x: Examples and Showcases
    Replies: 8
    Last Post: 5 May 2015, 2:56 PM
  3. Replies: 5
    Last Post: 29 Jun 2012, 6:21 PM
  4. No Browser save password feature for login page in Extjs
    By rishisaraf11 in forum Community Discussion
    Replies: 3
    Last Post: 1 Aug 2011, 1:36 AM
  5. browser auto-fill and save password not working
    By sanraj in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 27 Mar 2009, 1:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •