[web2py] Re: update database right from view?

2014-07-14 Thread lyn2py
You can build your form in plain HTML and submit using jQuery ajax. It's not impossible, just time consuming. I wonder why you wouldn't want to use web2py's *SQLFORM.factory* or *FORM* to do it? On Thursday, July 10, 2014 5:26:37 AM UTC+8, Maria Levchenko wrote: Sorry for novice question,

[web2py] Re: update database right from view?

2014-07-11 Thread Julio F Schwarzbeck
I'd suggest finding an alternative way of handling this, the below can become a real pain to maintain, not to mention the complexity of the algorithm being a O(n3) will be extremely inefficient and can potentially be very slow, try to minimize the use of inner loops unless there is no other

[web2py] Re: update database right from view?

2014-07-10 Thread Brian M
Maria, if you really want to you can build the entire form in the view with good old HTML. 1. An example set of sentence, meaning and word forms may be helpful - sounds like you're probably doing some sort of translation thing or maybe it is a quiz? 2. You'll need to add form/form