Hi Bruno, now my form at the view is:
{{=form.custom.begin}}
Name: {{=form.custom.widget.name}}
{{=form.custom.submit}}
{{=form.custom.end}}
I'm was testing a lot of times a insert with it, and every first time I'm
login to app
this form doesn't insert the data and nothing else shows, after t
Weird, because I'm noted that the first save process doesn't work, but from
the second all work fine :-/
and I'm have the same code without changes...
I'm have the trunk version..
El lunes, 21 de enero de 2013 17:12:38 UTC-3, rochacbruno escribió:
>
> SQLFORM expects a field named "fences_cu
SQLFORM expects a field named "fences_customer" the pattern is
tablename_fieldname
--
Hi Bruno
I have on this way the code now at the view:
{{=form.custom.begin}}
Name: {{=form.custom.widget.name}}
{{=form.custom.submit}}
{{=form.custom.end}}
and I getting the values for every input ok, but SQLForm doesn't store
nothing at the db...
Thanks
Christian.
El lunes, 21 de enero
include hidden fields
the use Javascript to populate
$('#customer').val("something")
--
Hello!! I have a Form for this table, but I'm only want to get the 'name'
field from the user input.
the other fields I need fill them from javascript vars...
Model:
db.define_table('fences',
Field('customer', db.customer, label='Cliente', notnull=True),
Field('name', leng
6 matches
Mail list logo