File attachment to display on form

I’m developing a form that will be filled in by a web user. They must attach a file with File Upload… My problem is…The file that they need to upload is an image… How can I move it to not only show as an attachment on the document but also display as an image on the existing form?

Subject: File attachment to display on form

Dear Stefan,

if u wana show ur attachment , then put one field on ur document called $V2AttachmentOptions

and set its value to “1”. It will show the attachment.

Rishi

Subject: RE: File attachment to display on form

Should it be a text, rich text, computed or computed for display? Cause it does not work!

Subject: RE: File attachment to display on form

Stefan

You will need to know the name of the file being uploaded, and then put that in an tag.

For example, after they have uploaded the form you could have a computed for display field with something similar to this formula:

“<img src="/” + @Text(@documentuniqueid) + “/$file/” + @AttachmentNames + “">”

This will probably require some tweaking but should get you started!

Ben

Subject: RE: File attachment to display on form

What u mean by tweaking???

Subject: RE: File attachment to display on form

I mean you may have to change it slightly to make it work!!