5 Jan 2012 9:37 AM #1
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.
5 Jan 2012 12:43 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
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 Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
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 firstname.lastname@example.org
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.
6 Jan 2012 2:50 AM #3
thanks that's helpful, I understand now.
For others. There is a really clear explanation in the following pdf in the forms section,