Forums
This topic is locked
ignore filefield if nothing entered?
Posted 01 Nov 2002 20:04:55
1
has voted
01 Nov 2002 20:04:55 Richard Visser posted:
Is there a way to ignore a filefield from being uploaded when nothing is entered, so the default value of the database field will remain the default instead of becomming empty.thanks , Richard
Replies
Replied 04 Nov 2002 14:23:27
04 Nov 2002 14:23:27 Vince Baker replied:
Is this so that a default image will be displayed if the user does not upload one?
Regards
Vince
Response.write("The best line of code you can ever use"
VBScript | ASP | HTML | SQL | Oracle | Hosting
Regards
Vince
Response.write("The best line of code you can ever use"
VBScript | ASP | HTML | SQL | Oracle | Hosting
Replied 04 Nov 2002 18:36:33
04 Nov 2002 18:36:33 Richard Visser replied:
Vince,
yes it is. Now if got a default value ( the path to an image) for the databasefield to wich the filefield will be uploaded. When someone does not upload an image , the default will be overwritten with 'nothing' (blanc). I need to ignore the filefield if nothing is entered because i'm sending a confirm e-mail wich will not work when there is no image in the path. For the confirm e-mail i'm using CDO.
I hope u have a solution.
thanks Richard.
yes it is. Now if got a default value ( the path to an image) for the databasefield to wich the filefield will be uploaded. When someone does not upload an image , the default will be overwritten with 'nothing' (blanc). I need to ignore the filefield if nothing is entered because i'm sending a confirm e-mail wich will not work when there is no image in the path. For the confirm e-mail i'm using CDO.
I hope u have a solution.
thanks Richard.