Forums
This topic is locked
Pure ASP Upload 2.1 - Update file required??
Posted 22 years ago
1
has voted
22 years ago 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 22 years ago
22 years ago 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
--------------------------------------------------
--------------------------------------------------
Patrick Woldberg
Web Developer at Dynamic Zones
Manager at DMXzone.com
--------------------------------------------------
Replied 22 years ago
22 years ago 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
Thanks, Blair
Replied 22 years ago
22 years ago 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
--------------------------------------------------
--------------------------------------------------
Patrick Woldberg
Web Developer at Dynamic Zones
Manager at DMXzone.com
--------------------------------------------------
Replied 22 years ago
22 years ago 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>
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>