Dear community,
I'm using ajax to submit a form:
$("#myform").submit(function() {
...
ajax("{{=URL("do_stuff", user_signature=True)}}", ["element1", "element2",
...], "target");
return false;
}
This works very well. However, when #myform has many elements or is
created/modified dynamically,
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 using CR
Merry Christmas
I need to do an AJAX form submission for a basic image table. I'm
following the strategy described here:
http://web2py.com/books/default/chapter/29/11#Ajax-form-submission
whereby I create an HTML form by hand, and have a SQLForm handle the
submission. The record gets inserted fin
hi,
i've tried to learn from
http://web2py.com/book/default/chapter/10#Ajax-Form-Submission,
is it possible to edit the ajax form submission?
e.g.
=== db.py ===
db = DAL('sqlite://db.db')
db.define_table('post', Field('your_message', 'text'))
db.post.your_message.requires = IS_NOT_EMPTY()
=== d
4 matches
Mail list logo