Forums

ASP

This topic is locked

Pure ASP Upload 2.1 - Update file required??

Posted 22 Apr 2003 22:41:32
1
has voted
22 Apr 2003 22:41:32 henchman sadf posted:
Hi,

Doing an update record with UD4 and Pure ASp upload. How do I set things up so that the file field is skipped if its empty. When setting up the update behaviour, I must set the file field to update the image column in the db - in case the reader does decide to update, right? How can I set it up so it doesn't update if empty when submitted?

Thanks, Blair

Replies

Replied 23 Apr 2003 10:26:11
23 Apr 2003 10:26:11 Patrick Woldberg replied:
This is done by default, Pure ASP Upload adjusts the Update Record behaviour so that it leaves the old data when no file is submitted

--------------------------------------------------
Patrick Woldberg
Web Developer at Dynamic Zones
Manager at DMXzone.com
--------------------------------------------------
Replied 23 Apr 2003 16:03:34
23 Apr 2003 16:03:34 henchman sadf replied:
Got it, but can this be done on an insertion as well. That is, if the client has no image to insert, can UD skip the file field? Seems when I try this I get a message that a file is required in the image field.

Thanks, Blair

Replied 24 Apr 2003 14:27:59
24 Apr 2003 14:27:59 Patrick Woldberg replied:
There is an option 'Require Upload' in the behaviour, it is next to the alowed extensions.

--------------------------------------------------
Patrick Woldberg
Web Developer at Dynamic Zones
Manager at DMXzone.com
--------------------------------------------------
Replied 24 Apr 2003 16:21:13
24 Apr 2003 16:21:13 henchman sadf replied:
Thanks Patrick - sorry, can't believe I missed that!

Cheers, Blair

...WONDERFUL extension by the way. Has saved me countless hours already.

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
There is an option 'Require Upload' in the behaviour, it is next to the alowed extensions.

--------------------------------------------------
Patrick Woldberg
Web Developer at Dynamic Zones
Manager at DMXzone.com
--------------------------------------------------
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Reply to this topic