Uploading files

Uploading files

volnistii11volnistii11 Posts: 49Questions: 16Answers: 0
edited December 2020 in Free community support

Hello, is there any manual with example for requesting any files, for example .pdf, not pictures? Can't find = (

Answers

  • volnistii11volnistii11 Posts: 49Questions: 16Answers: 0
    edited December 2020

    I mean uploading files to a table, not just png

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395

    I don't understand. What could a table do with a pdf? Do you mean put a link in a cell?

  • volnistii11volnistii11 Posts: 49Questions: 16Answers: 0

    I mean upload some file into a table cell.

  • volnistii11volnistii11 Posts: 49Questions: 16Answers: 0

    Like here, but here only for pictures
    https://editor.datatables.net/manual/upload

  • colincolin Posts: 15,237Questions: 1Answers: 2,598

    This example should help - it also links to other pages of interest,

    Colin

  • volnistii11volnistii11 Posts: 49Questions: 16Answers: 0

    Yes, I saw this example, but I don't understand what I should change to make it work with pdf files

  • colincolin Posts: 15,237Questions: 1Answers: 2,598

    If you look on the "Server script" tab in that example, at the end you'll see there's a validator which only supports image files. You would either remove that to open it up to all files, or create your own validator just for those PDFs.

    Colin

This discussion has been closed.