Public Ticket #3543986

Multiple License/Documents Fields

Closed
Comments
1 Ticket
Giuseppe started the conversation 3 years ago on December 15, 2023 at 10:43am

Hi,

We need multiple fields to upload license/documents of customers. We also need that these fields are reported in the user summary as the demo shown.

Can you also confirm us that the upload field is multi-file and drag & drop compatible?

Thanks

2,762
KingsPlugins replied 3 years ago on December 15, 2023 at 11:43am

Hi Giuseppe,

Thank you for getting in touch,

By default file upload inputs are set to accept 1 file, but you can enable multiple files by adding this PHP code snippet to your site:

add_filter('b2bking_allow_file_upload_multiple','__return_true');

Inputs will then accept multiple files:

multiple-files-upload-2.png

These inputs also support drag & drop.

You can create multiple such file upload fields, for licenses and for each other document.

Let me know if I can help with anything, or if you have any questions,

Kind regards,

Stefan

Sign In