PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV Mobile 2024 → Enable Input File on HTML Control
Enable Input File on HTML Control
Iniciado por REVOLUTIONCHAIN, 28,feb. 2020 20:18 - 2 respuestas
Miembro registrado
12 mensajes
Publicado el 28,febrero 2020 - 20:18
I have a Main windows with an HTML Control. I load a website in it, but for simplicity let's load just the portion of the code which is making me crazy like this.


HTML_Control = [
<input type="file" id="avatar" name="avatar" accept="image/png, image/jpeg">
]

When launching the application, if I click on the button, nothing happens. In theory, it should open the filepicker. There's a way to enable it? Maybe via native Java code? I already have enabled the execution of JS code, even if not needed.

Thanks you all,
Nicola
Mensaje modificado, 28,febrero 2020 - 20:19
Publicado el 23,mayo 2022 - 09:18
Hello, I have the same problem, have you found a solution for it ?

Thanks.
Publicado el 27,julio 2022 - 11:40
REVOLUTIONCHAIN a écrit :
I have a Main windows with an HTML Control. I load a website in it, but for simplicity let's load just the portion of the code which is making me crazy like this.


HTML_Control = [
<input type="file" id="avatar" name="avatar" accept="image/png, image/jpeg">
]

When launching the application, if I click on the button, nothing happens. In theory, it should open the filepicker. There's a way to enable it? Maybe via native Java code? I already have enabled the execution of JS code, even if not needed.

Thanks you all,
Nicola


Hello,

I have the same problem, do you solved it ?

Thanks !