I am not sure I understand. the values are always in request.vars. Those values that pass validation they are copied in form.vars.
On Oct 12, 7:46 pm, Renato-ES-Brazil <[email protected]> wrote: > I'm working with this idea again. > > Clicking on the link "add" opens a div popup with a form to create the > record. This form is submitted via ajax, but I'm having a problem: the > validation with form.accepts is failing, but the values are in > request.vars. > > Seems to be due to SQLFORM put different values for the attributes ID > ("tablename_fieldname") and NAME ("fieldname") in the objects. > > I've created a form manually and put the same value for attributes > "ID" and "NAME", and it worked. > > Any tips? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

