This should be obvious but, for some reason it escapes me.
I have a record with a timestamp in it. I am using SQLFORM.grid to get a
CRUD form. So far, so good but how to I get the timestamp to be updated if
I update the record?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Docume
I have some reference fields in a table and I want to be able to allow them
to be null (for a while. I have sent notnull and required to False in the
model but I get an error when I go to create a record in appadmin. Clearly
I can set them to point to a dummy record in my application but I am
w
> On Monday, December 16, 2013 12:28:14 PM UTC-5, Phil Hughes wrote:
>>
>> I have some reference fields in a table and I want to be able to allow
>> them to be null (for a while. I have sent notnull and required to False in
>> the model but I get an error when I go to cre
Perfect. Clearly the trick here is just getting used to all the options
available. I have yet to find something I can't do but, much like learning
any new language (computer or natural) you just need to get used to it.
Thanks.
On Monday, December 16, 2013 3:17:58 PM UTC-6, Anthony wrote:
>
> I
I see this as related to a thread about changing which fields are displayed
but my need is slightly different. I want to display all the form fields
but, depending on who is seeing it, change which fields can be edited.
While there is a lot more in the record, basically allow a user to only
upd
edit the field, but I would think this
> would work. It has to appear before you create the form in the controller.
>
> Am I understanding the question correctly?
>
> -Jim
>
> On Thursday, December 26, 2013 8:21:20 AM UTC-6, Phil Hughes wrote:
>>
>> I see this as related
Add an argument to the function: foo(bar): Only functions with no
arguments can be called from the outside world.
On Tuesday, December 31, 2013 3:57:56 AM UTC-6, Wei Li wrote:
>
> Hi,
>
> This could be a silly question:) . I am going to build up some
> application logic. So I will create a few
I seem to be in a loop (me, not the computer) getting autocomplete to do
what I want which is totally basic. I have reduced this to a test case and
could use a push in the right direction. (Consider this one of my 20
variations.)
What I want is for the reference lookup to use nombre (not the ID
s topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
Phil Hughes
nica...@gmail.com
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- h
ceived this message because you are subscribed to a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/OYly9gV1GHA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
>
t; web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
Phil Hughes
nica...@gmail.com
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/w
I have a record with two reference links -- to two different tables. The
validation I want is that one and only one of the two references are filled
in. Cleary I can just brute force this when processing the form but I
wonder if I am missing a way to do this in the model.
--
Resources:
- http:
I have a table with a text area. I want to be able to insert a clickable
reference to a a record in another table while entering/editing the text.
Ideally, I should be able to search the table I want to reference to find
the entry I want to point to. I am sure I can do this with AJAX but, well,
13 matches
Mail list logo