On Fri, Dec 5, 2008 at 12:35 PM, itay <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> I tried to create a multiple file upload form. I want the user to
> enter the directory only once. I had some problems doing that and I
> after a little time of checking this the problem is with format:
> {=field}.
>
> For example, this code doesn't work:
> [form]
> Select File:
> [file upload]
> [text thedir]
> [session filepath "{=thedir}"]
> [submit value="UPLOAD"]
> [form]
> (doesn't matter if I put [session...] after [submit...], doesn't
> matter with/without quotes)
>
> It always uploads to the main dir (/files/).
Try putting the filepath command before the upload command. At the
time BoltWire is trying to run your upload command, filepath has not
yet been able to get its new value. Like this:
[form]
Select File:
[session filepath "{=thedir}"]
[file upload]
[text thedir]
[submit value="UPLOAD"]
[form]
Cheers,
Dan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---