jo-ka Member Dec 20, 2023 #1 Hello. I have a file upload element where I upload pdf files to the server. On other tab, I would like to display that same file, on form view and/or edit view. What is the best way?
Hello. I have a file upload element where I upload pdf files to the server. On other tab, I would like to display that same file, on form view and/or edit view. What is the best way?
troester Administrator Staff member Dec 23, 2023 #2 Do you want to show the content of the PDF file embedded in a form/details view?(-> a calc element doing e.g https://www.w3docs.com/snippets/html/how-to-embed-pdf-in-html.html) Or a link/button which will open the PDF in a new browser tab?
Do you want to show the content of the PDF file embedded in a form/details view?(-> a calc element doing e.g https://www.w3docs.com/snippets/html/how-to-embed-pdf-in-html.html) Or a link/button which will open the PDF in a new browser tab?
jo-ka Member Dec 27, 2023 #3 troester said: Do you want to show the content of the PDF file embedded in a form/details view?(-> a calc element doing e.g https://www.w3docs.com/snippets/html/how-to-embed-pdf-in-html.html) Or a link/button which will open the PDF in a new browser tab? Click to expand... I want to do the first one, this is, I will upload the PDF with the file upload plugin, in one form tab, which will display the link to the file but, on other tab on form view, display that same PDF embeded on an element. I will check that solution. Thanks @troester .
troester said: Do you want to show the content of the PDF file embedded in a form/details view?(-> a calc element doing e.g https://www.w3docs.com/snippets/html/how-to-embed-pdf-in-html.html) Or a link/button which will open the PDF in a new browser tab? Click to expand... I want to do the first one, this is, I will upload the PDF with the file upload plugin, in one form tab, which will display the link to the file but, on other tab on form view, display that same PDF embeded on an element. I will check that solution. Thanks @troester .