You need to pass the URL('default','download') to SQLFORM(..) as in
SQLFORM(...,upload=URL('default','download'))
and the widget should have it automatically.
On Apr 15, 4:56 pm, pbreit <[email protected]> wrote:
> I have a page that serves both for creating and updating records. One
> element is an image. When I go to edit a record that has an image, the image
> upload widgets don't indicate that the record already has an image.
>
> Is there an easy way to show the image or image filename
> with form.custom.widget.image?