PDA

View Full Version : Sample code to submit a Sencha Touch form?



profunctional
24 Jun 2010, 7:50 AM
I've downloaded and looked at the kitchen sink code. I still don't understand how to submit the form. When I try to check form.isValid() or do a form.submit() I get errors that those methods don't exist. Is there a working example on how to submit a form via ajax?

Thanks.

mrsunshine
24 Jun 2010, 8:16 AM
take look to this thread (http://www.sencha.com/forum/showthread.php?101941-FormPanel-How-to-submit-data)

pleas take the forum search function first next time ;-)

profunctional
24 Jun 2010, 8:20 AM
Thanks for the quick response. I did see that, but it was my understanding that the form.submit was also async as well. I was trying to avoid using the syntax in that thread after reading other threads related to EXT that suggested using the form.submit() for forms. I guess there really is no submit() then. Thanks again.

mrsunshine
24 Jun 2010, 8:23 AM
no problem,

at the moment you have to submit you data via the ajax request syntax, form.submit will be in a coming version

SIDGEY
5 Jul 2010, 1:58 AM
Quickly please B)

kostik83
5 Jul 2010, 5:22 AM
no problem,

at the moment you have to submit you data via the ajax request syntax, form.submit will be in a coming version

Could you please tell us, roughly, when will the new version come out?

TommyMaintz
6 Jul 2010, 12:46 PM
We plan on having the final 1.0 release by the end of this month.

kostik83
6 Jul 2010, 12:50 PM
Thank you for a rough timeline. Looking forward to the final release.

sushmak_bs
3 Apr 2012, 11:33 PM
hi
i have a problem
1. need to send the form data to my mail id using php when i click on submit button how do i do that .

Sangith
12 Apr 2012, 2:17 AM
hi
i have problem on

1. how to start a sencha.
2. But, i have downloaded a sencha sdk tools 2.0.0 Beta sdk
3. i dont know,after that what can i do it...
anyone please give me a idea for this....

sushmak_bs
12 Apr 2012, 9:10 PM
hi am new to sencha , am trying to send the form data to my mail using php wen submitting the form . Is that possible please help me...

thanks in advance..

sushmak_bs
12 Apr 2012, 9:11 PM
hi sangith,

http://www.sencha.com/learn/sencha-touch-quick-start/


try this link you will get some idea about how to use sencha touch...