Is there a way to do a live preview of an image file?

Hello everyone, 

 

I was wondering if there is a way to display an image that a user uploads before the form has been submitted? 

 

Thanks,

-Seth

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to kavitar0003

    What stefan said is correct.  There is no workaround without a user click.

    However, there is a reasonable workaround if you're willing to make the user click something.  When a new upload exists, add a submit button or submit link next to the upload field, saying "click to preview", or something along those lines - this will submit the form, allow the file to be promoted to the Appian FS, and transparently loop back to the same form (to the user's experience, it will not seem like they "left" the form, if things are configured correctly).  After the task is loaded again, the file will be eligible to be shown in the normal image field as desired.

Children
No Data