Forums

ASP

This topic is locked

Pure ASP Upload Idea....

Posted 28 Aug 2001 14:38:36
1
has voted
28 Aug 2001 14:38:36 Felix Lo posted:
I was wondering whether anyone can help me implement this idea i have about using the ASP Upload thing extension...

Here's what I was thinking:

On the "Insert Record", I have to Radio switches letting the user choose between typing in manually typing in a path (into a textbox) or upload a new one (using the file field).

Is it possible to make the server ignore all the ASPUpload code if a certain radio box (or check box) is selected.

I tried surrounding the whole block of ASPUpload code with a simple IF THEN ELSE statement (i.e. IF Request.Form("radio1"="noupload" THEN <INSERT CODE WITHOUT ASPUPLOAD MODIFICATION> ELSE <INSERT CODE WITH ASPUPLOAD MODIFICATION> but it doesn't work - the record will get added, but the "imagepath" field would be blank, instead of the contents of a textbox.

Thanks!

Replies

Replied 06 Sep 2001 01:53:33
06 Sep 2001 01:53:33 Waldo Smeets replied:
This is a very difficult and rarely asked feature. Maybe you should check out Pure Upload 2 (www.UDzone.com/go?1622), it supports option uploads.

Waldo Smeets - www.UDzone.com Webmaster
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Replied 06 Sep 2001 01:53:33
06 Sep 2001 01:53:33 Waldo Smeets replied:
This is a very difficult and rarely asked feature. Maybe you should check out Pure Upload 2 (www.UDzone.com/go?1622), it supports option uploads.

Waldo Smeets - www.UDzone.com Webmaster
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>

Reply to this topic