Other display when no upload
Question:
One question, in making a file upload optional, when someone decides not to upload a file, is there a way to make the display page appear without that
broken gif image? Maybe with words that say, "image not provided" - something like that....
Answer:
Yes of course there is a way.
It will be something like:
<% if myRecordset.Fields.Item("ImageFileName").Value <> "" then %>
<IMG src="/upload/<%=myRecordset.Fields.Item("ImageFileName").Value%>">
<% else ' no image %>
Image Not Provided
<% end if ' image check %>
Comments
Javascript version?
You must me logged in to write a comment.