Hi Bruno, now my form at the view is:

{{=form.custom.begin}}
Name: {{=form.custom.widget.name}}
<input type='hidden' id="fences_type" name="type">
<input type='hidden' id="fences_definition" name="definition">
<input type='hidden' id="fences_customer" name="customer">
{{=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 that all 
works fine, only the first time fails...
I can insert 30 times after the first time without problems..

I was checking the javascript data and all times the data is collected very 
well
My controller now is :
def fences():
    form = SQLFORM(db.fences)
if form:
            if form.process().accepted:
                response.flash = 'Datos Ingresados'
    else:
#response.flash = form.vars
          response.flash = form.errors
    return(form=form))
 
I tried to debug, but at the last web2py trunk version the debugger doesn't 
work very well

Thanks in advance.
Christian.

El lunes, 21 de enero de 2013 17:12:38 UTC-3, rochacbruno escribió:
>
> SQLFORM expects a field named "fences_customer" the pattern is 
> tablename_fieldname
>

-- 



Reply via email to