hmm, guess I should do more form error checking client side then. Would it be possible for SQLFORM to also do some of the form checks client side, and cancel submit if there is a problem? Most of the validators would be easy to implement in Javascript, I imagine.
Richard On Nov 12, 1:06 pm, "mr.freeze" <nat...@freezable.com> wrote: > HTML spec supports it but most browsers don't for security reasons. > > On Nov 11, 7:43 pm, Richard <richar...@gmail.com> wrote: > > > Hello, > > > I have an upload form with keepvalues=True. When there is a form error > > all my text fields remain intact but the upload field is empty, which > > means the user has to navigate to the file again. > > Is it possible to keep this file selected in the upload field, or is > > this a security risk blocked by the browser? > > > Thanks, > > Richard > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---