[web2py] Re: Ajax-form-submission: pass ALL form-elements

2013-06-01 Thread D.
Excellent, thanks! I think this should go into the documentation! Am Freitag, 31. Mai 2013 22:21:01 UTC+2 schrieb Niphlod: see https://groups.google.com/forum/?fromgroups=#!searchin/web2py/ajax$20anthony/web2py/sYFJWdLoO3g/V-g6KB6XfqYJ -- --- You received this message because you are

[web2py] Re: Ajax-form-submission: pass ALL form-elements

2013-05-31 Thread Niphlod
see https://groups.google.com/forum/?fromgroups=#!searchin/web2py/ajax$20anthony/web2py/sYFJWdLoO3g/V-g6KB6XfqYJ On Friday, May 31, 2013 10:10:08 PM UTC+2, D. wrote: Dear community, I'm using ajax to submit a form: $(#myform).submit(function() { ... ajax({{=URL(do_stuff,

[web2py] Re: AJAX form submission with image upload

2012-11-14 Thread Krisha Teja
On Monday, 26 December 2011 22:12:27 UTC+5:30, Yarin wrote: @Massimo, this worked for me- thanks a lot. I'd suggest making mention of jquery.form.js in the regular book as well. Yarin On Dec 25, 1:31 am, Massimo Di Pierro massimo.dipie...@gmail.com wrote: The only way around

[web2py] Re: AJAX form submission using CRUD in web2py

2012-04-06 Thread Anthony
Is it possible to validate CRUD form fields using ajax without submitting the form in web2py? I have gone through the web2py online doc and have seen this link: http://web2py.com/books/default/chapter/29/11#Ajax-form-submission So we may do it using custom html. But I want to do it

[web2py] Re: AJAX form submission with image upload

2011-12-26 Thread Yarin
@Massimo, this worked for me- thanks a lot. I'd suggest making mention of jquery.form.js in the regular book as well. Yarin On Dec 25, 1:31 am, Massimo Di Pierro massimo.dipie...@gmail.com wrote: The only way around this is using thishttp://jquery.malsup.com/form/ There is a web2py slice

[web2py] Re: AJAX form submission with image upload

2011-12-24 Thread Yarin
Just found this in the docs, which perhaps partially answers my question: *Please note:* Because Ajax post does not support multipart forms, i.e. file uploads, upload fields will not work with the LOAD component. You could be fooled into thinking it would work because upload fields will function

[web2py] Re: AJAX form submission with image upload

2011-12-24 Thread Yarin
Just found this in the docs, which perhaps partially answers my question: *Please note:* Because Ajax post does not support multipart forms, i.e. file uploads, upload fields will not work with the LOAD component. You could be fooled into thinking it would work because upload fields will function

[web2py] Re: AJAX form submission with image upload

2011-12-24 Thread Yarin
Just found this in the docs, which perhaps partially answers my question: *Please note:* Because Ajax post does not support multipart forms, i.e. file uploads, upload fields will not work with the LOAD component. You could be fooled into thinking it would work because upload fields will function

[web2py] Re: AJAX form submission with image upload

2011-12-24 Thread Massimo Di Pierro
The only way around this is using this http://jquery.malsup.com/form/ There is a web2py slice about this and an extended recipe in this book: http://www.packtpub.com/web2py-application-development-recipes-to-master-python-web-framework-cookbook/book we decided not to include jquery.form.js in

Re: [web2py] Re: ajax form submission

2011-06-09 Thread Stifan Kristi
it works on me too, pbreit, thank you so much. when i use the simple it works fine, but when i try to expand it (i mean using components, ajax and jquery it's not work). On Thu, Jun 9, 2011 at 5:11 AM, pbreit pbreitenb...@gmail.com wrote: It worked for me with a normal query:

Re: [web2py] Re: ajax form submission

2011-06-09 Thread pbreit
The Ajax worked OK for me. I used your exact same code except I switched/fixed this one line: results = db().select(orderby = ~db.post.id) to results = db(db.post.id0).select(orderby = ~db.post.id)

[web2py] Re: ajax form submission

2011-06-08 Thread pbreit
It worked for me with a normal query: db(db.post.id0).select(orderby = ~db.post.id)