SOrry, email editor mangled the text. SHould read:
db.table_settings['parent_table'].default_value.default
On Dec 12, 12:21 pm, Nik Go wrote:
> db.table_settings.default_value.requires = IS_IN_SET(['a','b'])
> db.table_settings['parent_table'].default_value*.default*
>
> I think this is what you
I meant, if the data is accessed from a function.
On Dec 12, 12:07 pm, Anthony wrote:
> Can you show some code? What do you mean "check the data from a view"?
>
>
>
>
>
>
>
> On Sunday, December 11, 2011 8:43:50 PM UTC-5, ニコノコ wrote:
>
> > I have a
Eeugh. Sorry for the ugly suggestion. Post validation could
def person_processing(form):
if len(form.vars.field or '')<1:
form.errors.field= 'Select one.'
On Oct 24, 10:32 am, Vasile Ermicioi wrote:
> > How about: db.table.field.requires = IS_LENGTH(1)
>
> that will limit the field t
not if the field is list:string
On Oct 24, 10:32 am, Vasile Ermicioi wrote:
> > How about: db.table.field.requires = IS_LENGTH(1)
>
> that will limit the field to one character, not to one value from set
Checkout the solidForm plugin from http://dev.s-cubism.com/web2py_plugins
On Oct 24, 4:18 am, BrendanC wrote:
> Hi
> Some time ago I developed a CRUD demo app in Django that used some some
> complex forms. Here's an example:
>
> http://theludditegeek.com/prescreen/1
>
> I'd like to convert this t
I create new buttons like this in the grid:
links = [lambda row: A('X', _href=URL(args=["view", db.person,
row.id] ))]
How should I specify an icon for the new button?
On Oct 19, 10:04 pm, Bruno Rocha wrote:
> Herehttps://github.com/michenriksen/css3buttonsyou can find a list of all
> suported
How about: db.table.field.requires = IS_LENGTH(1)
On Oct 22, 12:35 am, TheSweetlink wrote:
> I have a SQLFORM.factory that is respecting IS_NOT_EMPTY() for a field
> with type='string' but not respecting it for a diffirent field of
> type='list:string'.
>
> If the list:string type field is left e
Even if I'm logged in, I couldn't view a record when I click the
parent record. The parent field is a clickable representation viewable
in a grid.
re [2]
the relevant portion is the links parameter where I create a new
button. I want to create an icon for that button.
On Oct 23, 12:53 pm, Massim
8 matches
Mail list logo