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 web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---