[web2py] Re: override record in db

2017-11-01 Thread runruh11
I have scrapped the controller I was using because it wasn't working but it was something like this def display_form(): *record = alpha.person(request.args(0)) or redirect (URL('index'))* form=SQLFORM(alpha.person,* record)* if form.process(keepvalues=True).accepted: response.f

[web2py] Re: form in bootstrap modal

2017-09-21 Thread runruh11
aww chapter 12 how I have avoided thee. Thanks Leonel I will give it a go. On Wednesday, September 20, 2017 at 3:23:11 AM UTC-7, Leonel Câmara wrote: > > One way to do it is to load the form in the modal's body using > $.web2py.component when the user triggers the action that opens it, then >

[web2py] Re: how to make check box appear to enable multiple selections

2017-08-31 Thread runruh11
See this previous post; it was a question I asked https://groups.google.com/forum/#!searchin/web2py/checkboxes$20with$20is_in_set%7Csort:relevance/web2py/UtbNmh-DF30/XaEXUF6gCgAJ what I appreciated from Jim Russell's reply is advice of storing the items in a list. This option uses IS_IN_SET as op

[web2py] Re: function contingent on registration

2017-05-23 Thread runruh11
this feels like checkmate. I did get the 'is not callable' error as you anticipated. Is there an avenue that I don't see? At this point I am resigned to running the code a bunch of times and creating a bunch of lists; then assign one to each user; any advice before I go down that road? On

[web2py] Re: function contingent on registration

2017-05-21 Thread runruh11
fun = database zip = table name inform = Field name this enters data into the database but I would prefer it run only once at registration. fun.zipdip.insert(infom=result) An interesting behavior is when I run the above I get 20 dates in the db. But when I run --auth.settings.registe