28 Nov
2001
28 Nov
'01
12:48 p.m.
demont, you're using a dtml-tag inside another dtml-tag. that won't work. try it like this: <dtml-call "images.manage_addFile(id=movie_id, file=movie_file)"> jens On Wednesday, November 28, 2001, at 04:42 , Demont Maarten wrote:
Hi, I’m uploading a file from a form.
However, I want the id to be something I filled in the form, namely movie_id. But if I do:
<dtml-call "images.manage_addFile(id='<dtml-var movie_id>', file='<dtml-call movie_file>')">
andtry to upload it, I get following error message: The id "" contains characters illegal in URLs.
If I fill in any name in the id=’…’, it works as a charm…
How do I use a variable in the id field?
Maarten Demont
maarten.demont@cronos.be