PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV Mobile 2024 → Enable Input File on HTML Control
Enable Input File on HTML Control
Started by REVOLUTIONCHAIN, Feb., 28 2020 8:18 PM - 2 replies
Registered member
12 messages
Posted on February, 28 2020 - 8:18 PM
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
Message modified, February, 28 2020 - 8:19 PM
Posted on May, 23 2022 - 9:18 AM
Hello, I have the same problem, have you found a solution for it ?

Thanks.
Posted on July, 27 2022 - 11:40 AM
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 !