Results 1 to 4 of 4

Thread: How to post data of specific field of formPanle in sencha touch 2.0?

  1. #1
    Sencha User
    Join Date
    Mar 2011
    Location
    Gujarat,India
    Posts
    59
    Answers
    1
    Vote Rating
    0
      0  

    Default How to post data of specific field of formPanle in sencha touch 2.0?

    I want to post only those field data which was changed .How can I do this? I am using submit() method for this.

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,060
    Answers
    3976
    Vote Rating
    1389
      0  

    Default

    submit() will send all fields. You would have to use an Ajax call (submit() does an Ajax call btw) and pass in the parameters.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Mar 2011
    Location
    Gujarat,India
    Posts
    59
    Answers
    1
    Vote Rating
    0
      0  

    Default

    Thanks for reply.but submit() use ajax request that's fine but my back end work on post method how it done by using ajax?
    I mean php as my back and I grap data using $_POST method now if I use ajax then how can I use post method?

  4. #4
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,060
    Answers
    3976
    Vote Rating
    1389
      0  

    Default

    Use the method config of AJax and set it to 'POST'
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Tags for this Thread

Posting Permissions

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