Reputation: 7004
Is it possible to use an external button to add file using Dropzone plugin? I found this documentation but it doesn't answer my question.Indeed, I can't be able to add file using an handler event such as click. Is there a solution?
Upvotes: 3
Views: 3244
Reputation: 331
I guess you want your button to have the clickable option, isn't it? If so you should configure your Dropzone for this like that:
Dropzone.options.validationForm = {
clickable: "#your_button_id",
//rest of your code
}
If it isn't the answer you're looking for maybe you could try explain better what you want or put a snippet of your code :)
Upvotes: 9