PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Bug?

  1. cmendoza
    Member

    It looks like there is a problem when overall form validation fails, (e.g. some required field is left empty)

    Specifically, while the other "fields" retain their values, the "file" chosen using the Post Image field gets cleared out.

    Carlos

    Posted 14 years ago on Tuesday August 31, 2010 | Permalink
  2. This isn't a bug, it's how file upload fields work. We can't pre-populate this field, the browser won't allow us to for security reasons.

    If you could pre-populate an file upload file you could utilize that to get the user to upload files they didn't intend to upload via a hidden field.

    So for security reasons browsers do not allow file select fields to be pre-populated via code.

    Posted 14 years ago on Tuesday August 31, 2010 | Permalink
  3. cmendoza
    Member

    Gotcha... thanks for the explanation and quick response!

    Posted 14 years ago on Tuesday August 31, 2010 | Permalink

This topic has been resolved and has been closed to new replies.