1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    19
    Vote Rating
    0
    Andy Lincoln is on a distinguished road

      0  

    Default formBind not working....

    formBind not working....


    hi i am a newbie in extjs...i am doing a demo application(Registration Form) in extjs.The form contains following..

    1-textbox
    2-radio button
    3-combobox
    4-checkbox
    5-submit button

    i am using formbind : true for button .but it's not working i.e button is not enabled after giving correct data.but if i remove radiobutton,checkbox then it's working.can't find what is the problem.please helpme..

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,330
    Vote Rating
    847
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    This test case is working for me for 4.0.7 and 4.1.0 RC3

    Code:
    new Ext.form.Panel({
        renderTo    : document.body,
        width       : 400,
        height      : 400,
        defaultType : 'textfield',
        items       : [
            {
                fieldLabel : 'Test',
                allowBlank : false
            },
            {
                fieldLabel : 'Email',
                allowBlank : false,
                vtype      : 'email'
            }
        ],
        dockedItems : [
            {
                xtype : 'toolbar',
                dock  : 'bottom',
                items : [
                    {
                        text     : 'Submit',
                        formBind : true,
                        disabled : true
                    }
                ]
            }
        ]
    });
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1