TCPDF radio button

javilla

New Member
Messages
8
Reaction score
0
Points
0
I need to make a PDF file from a PHP script using TCPDF. In that file, I want to get a filled form with data from a data base. This means the form don't need to have the capability to be filled.

In the form there would be two groups of radio buttons and in TCPDF there is a function called RadioButton() for generating them. But this function only works on Adobe Acrobat and I need it to work everywhere. The fact is that I have some PDF files with forms and I can view and fill them anywhere not only on Adobe Acrobat. So, what kind of form they use? Is TCPDF capable of generating them?

Anyway, I prefer the radio buttons to be checkbox styled but I was looking for a function to create them to avoid the need to drawing the boxes my self. Althought that is maybe the best.

Thanks,
Javier.
 
Last edited:

OdieusG

New Member
Messages
50
Reaction score
0
Points
0
There is a PDF library for PHP, I'm not sure if the server has it installed or not though.....I know to NOT embed a PDF file into a website, you need to send headers to download, it's under Example 1 that explains this
Code:
http://us3.php.net/manual/en/function.header.php
Hope that help at least half of the situation


I need to make a PDF file from a PHP script using TCPDF. In that file, I want to get a filled form with data from a data base. This means the form don't need to have the capability to be filled.

In the form there would be two groups of radio buttons and in TCPDF there is a function called RadioButton() for generating them. But this function only works on Adobe Acrobat and I need it to work everywhere. The fact is that I have some PDF files with forms and I can view and fill them anywhere not only on Adobe Acrobat. So, what kind of form they use? Is TCPDF capable of generating them?

Anyway, I prefer the radio buttons to be checkbox styled but I was looking for a function to create them to avoid the need to drawing the boxes my self. Althought that is maybe the best.

Thanks,
Javier.
 
Last edited:
Top