Page 1 of 1

Inout Type="file"

Posted: Thu Jun 06, 2024 2:06 pm
by peters
Is there anyway you can implement . . . .
<input type="file" id="image-picker" accept="image/*">
as a drop-in object in a webpage?

Currently I am hard-coding this via HTML in the webpage to get a user button option to allow the user selecting this in a mobile app to select a photo from the cell phone gallery or actual take a picture that is being displayed on a canvas and then upload to a web-server.

Currently I am hard coding both the input type="file" and the canvas in HTML and wondering if there is an easier way to do this in WYSIWYG Web Builder?

I have it all working, but hoping there is an easier way if the items can be dropped in the page using the web builder interface.

Pete,

Re: Inout Type="file"

Posted: Thu Jun 06, 2024 3:13 pm
by BaconFries
First please note that WYSIWYG Web Builder is not a HTML Editor but a HTML Generatorwhat this means is that no HTML exists till you publish.
With that said you can use the following to add external scripts/code/html
HTML Object

Re: Inout Type="file"

Posted: Thu Jun 06, 2024 3:33 pm
by Pablo
A "file upload" object is built-in. It's in the 'Form' section .

Also, there are several extensions to implement fiel upload functionality.

Re: Inout Type="file"

Posted: Fri Jun 07, 2024 3:57 pm
by peters
Thanks guys,

I have it going and working as I want now.

Pete,