Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: PDF Generation

  1. #1
    New to the CF scene
    Join Date
    Aug 2014
    Thanked 0 Times in 0 Posts

    PDF Generation

    Hi, I want to use javascript to make a PDF file from a form but the research I've done on how is over my head (very new to javascript, html, and all things web design). From what I've seen, the server side generation makes no sense to me so I'd prefer something client side unless someone can explain the former in a way I understand. The majority of things I've seen are for converting whole pages, which is not what I want. I just want to be able to move the input in my form from the form to a PDF that the user can download or have e-mailed to them. Is there an easy-to-use API for this? Do I even need one?

  2. #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Thanked 4,947 Times in 4,908 Posts
    What you are talking about is filling in the fields of a PDF form. (It may not look anything like an HTML form, but if its a PDF file that has reserved locations where you will plop in data, then it's a PDF form.) So far as I know, you can't do this client-side (somebody will hopefully chime in and make a liar of me). I have done it server-side, but only by using a control that we purchased. A good control should make the coding of this nearly trivial.
    Be yourself. No one else is as qualified.

  3. #3
    Regular Coder
    Join Date
    Aug 2014
    Thanked 8 Times in 8 Posts
    i dont think you can do it with javascipt.
    with php, i have made it and i can help you, if you're interested and you know a little php.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts