i read that many times and i thought thats under the hod! thanks On Wednesday, October 10, 2012 4:51:55 PM UTC+3:30, Anthony wrote: > > It should be available in request.vars.DN (and request.post_vars.DN). > > From the book: > > There is a special hidden attribute. When a dictionary is passed as hidden, > its items are translated into "hidden" INPUT fields (see the example for > the FORM helper in Chapter 5). > > form = SQLFORM(....,hidden=...) > > causes the hidden fields to be passed with the submission, no more, no > less. form.accepts(...) is not intended to read the received hidden > fields and move them into form.vars. The reason is security. hidden fields > can be tampered with. So you have to do explicitly move hidden fields from > the request to the form: > > form = SQLFORM(..., hidden=dict(a='b')) > form.vars.a = request.vars.a > > > > Anthony > > On Wednesday, October 10, 2012 9:02:45 AM UTC-4, yashar wrote: >> >> this is my form: >> >> form = >> SQLFORM(db.records,record_id,showid=False,deletable=True,hidden=dict(DN=DN)) >> >> but i cannot access form.vars.DN in controler nither in validator >> function, in controller in returns error ( DN is not in table ) and in >> validator it returns None. >> >
--

