Creating a simple form to create a channel entry with in it only a field of type file to upload image.

See snippet below; strange thing is that selecting an existing file works, entry gets created with attached file. However when i upload file it is not uploaded/attached to the entry.

Missing something here?

{exp:channel:form channel="fileuploads" return="/shop/checkout02"}
<label for="title">Title</label>
<input type="text" name="title" id="title" value="{title}" size="50" maxlength="100" onkeyup="liveUrlTitle(event);">
<input type="submit" value="Submit">
  • does the member group in question have proper rights to upload to this folder? – Jelle Dijkstra Feb 8 at 13:20
  • I got this working by using inputs self declared instead of the {field:upload} tag. But since i got your attention Jelle – Bart Feb 9 at 22:47
  • how would i best go about retrieving the entry after submission? IO now do this by using entry-id or url title in the return url but that seems somewhat buggy no? – Bart Feb 9 at 22:49

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.