Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Is there a way to upload a file in custom input?, posted by Satyajit Jena on Tue Dec 15 14:50:55 2020 
    icon2.gif   Re: Is there a way to upload a file in custom input?, posted by Stefan Ritt on Tue Dec 15 15:19:25 2020 
       icon2.gif   Re: Is there a way to upload a file in custom input?, posted by Satyajit Jena on Tue Dec 15 17:41:57 2020 
Message ID: 69281     Entry time: Tue Dec 15 15:19:25 2020     In reply to: 69280     Reply to this: 69282
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Linux  ELOG Version: 3.1.4 
Subject: Re: Is there a way to upload a file in custom input? 

When you submit a "normal" elog entry, you can click on "Choose file" to add an attachment. On a mobile device, you will then be asked to select a photo from your library or take one with your camera. You can do the same on a custom form. You have to extract the code from the normal submissoin form and program it on your custom page. It needs however some work and might not be straight forward.

Stefan

Satyajit Jena wrote:

Hi,

I am trying to implement a Custom input forms by following this  https://elog.psi.ch/elogs/Contributions/49. Is there a way to also insert an image or files to it? I want to take a snap from the iPad and want that to go as an attachment or attach a file(s) into the form. Is there a way to do that?

Your suggestions are highly appreciated.

Regards,

sjena

 

 

ELOG V3.1.5-fe60aaf