My code is simple form=SQLFORM(db.category) if form.process().accepted: response.flash = 'form accepted' elif form.errors: response.flash = 'form has errors' return dict(form=form)
views is using generic.load to LOAD into a dialog via ajax. I'm using the latest trunk. On Wednesday, August 8, 2012 4:51:56 AM UTC+8, Anthony wrote: > > Are you using trunk (if not, can you try it -- including the trunk version > of web2py.js)? Can you show your code? > > Anthony > > On Tuesday, August 7, 2012 4:21:16 PM UTC-4, lyn2py wrote: >> >> Spotted a small bug in response.flash: >> >> Normally when we submit a form, response.flash will appear "form accepted" >> However if it is a form submitted within dialog box, response.flash will >> appear "form%20accepted" >> >> >> >> --