1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    80
    Vote Rating
    1
    Anthony.Hall is on a distinguished road

      0  

    Default Posting a form extjs 4.0

    Posting a form extjs 4.0


    I'm trying to construct a form using ext designer. Looking at the examples in the form section on the link below. The forms don't seem to actually submit. ( i could be wrong ) What is the best approach for posting a form. Either ajax or a regular post. I believe i need to set up some kind handler. Are they any examples of this. Also i've added a form panel but this don't seem to add a form element. How would i do this.

    http://dev.sencha.com/deploy/ext-4.0.7-gpl/examples/






  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,714
    Vote Rating
    438
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    There are two modes for submitting, by default the form will use an ajax call to submit the data but if you set standardSubmit to true, it will do a normal HTML form submit.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    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 almost in print!

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

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Posts
    80
    Vote Rating
    1
    Anthony.Hall is on a distinguished road

      0  

    Default


    thanks that's helpful, I understand now.

    For others. There is a really clear explanation in the following pdf in the forms section,

    ext-designer-for-ext-js-4-users-guide.pdf

Tags for this Thread