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
  • +1
    Certified Lead Developer
    over 5 years ago

    This is not possible at the moment because the file need to be stored in the knowledge center to render in the sail form, So after clicking on the submit only the image will be saved in the knowledge center.
    Still if you want to implement it, Keep a button beside the file upload field. And that button needs to be work as an submit button but in the process model give a condition such that if the value is from the pseudo button loop back to the same form and show the details.

    This might help you.

Reply
  • +1
    Certified Lead Developer
    over 5 years ago

    This is not possible at the moment because the file need to be stored in the knowledge center to render in the sail form, So after clicking on the submit only the image will be saved in the knowledge center.
    Still if you want to implement it, Keep a button beside the file upload field. And that button needs to be work as an submit button but in the process model give a condition such that if the value is from the pseudo button loop back to the same form and show the details.

    This might help you.

Children
No Data