def wall():
form = FORM(INPUT(_type='submit'), _action=(db.auth_user.dp=name))
return locals()
I figured out this too doesn't work.
Can you please tell me the exact code to upload an image into
db.auth_user.dp?
On Tuesday, December 15, 2015 at 12:18:38 PM UTC+5:30, RAGHIB R wrote:
>
> I
Hi
This section of the book covers upload fields pretty well. Have you tried
with the example code there?
http://web2py.com/books/default/chapter/29/07/forms-and-validators#SQLFORM-and-uploads
-Jim
On Tuesday, December 15, 2015 at 1:38:59 AM UTC-6, RAGHIB R wrote:
>
> def wall():
> form
On Tuesday, December 15, 2015 at 2:38:59 AM UTC-5, RAGHIB R wrote:
>
> def wall():
> form = FORM(INPUT(_type='submit'), _action=(db.auth_user.dp=name))
>
The "action" of an HTML form is a URL where the form is to be posted. It's
not clear what you expect the above action to do.
> def wall(
Raghib, welcome to web2py. It seems that many of your questions could be
answered by reading the documentation. I would suggest that before your
proceed with your project, you take some time to carefully go through the
documentation. And before asking a question, try to search the forum for
sim
4 matches
Mail list logo