Hi,
I am using a dhtmlxform with combo and uploader items.
I would like that once a combo option is selected the uploader is triggered and opens inmediatly the box to choose the file (like if the arrow button was clicked).
Is there any way of doing this?
Thanks in advance
You can use getUploader api to get the uploader object
docs.dhtmlx.com/api__dhtmlxform … oader.html
and after that use
form.getUploader(name).f.click();
Which will open the file selection dialog
That’s great!!
Thanks!
Hi,
This solution worked fined to me until I put the uploader inside a fieldset, now it doesn’t trigger…
Is there a way of making it work?
Thanks
Unfortunately the problem cannot be reconstructed locally.
The following snippet works well for me:
snippet.dhtmlx.com/17516a9ec
if the poroblem still occurs for you please, provide a compete demo or share a demo link, where teh problem can be reproduced.