Results 1 to 6 of 6

Thread: Submitting a PDF form

  1. #1
    Join Date
    Oct 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Submitting a PDF form

    I have made up a pdf form that we would like to put on our website.

    I'd like users to be able to just fill in the form and click submit and the form be sent to our email address.

    Acrobat form submit just doesn't do what I want it to do - I don't want users to have to save the form and attach it to an email and ideally, I'd like the entire form to be emailed and not just the data (though if that's all that can be done, then we can live with it).

    I've been advised that it would work best with a script to submit the form to our email address.

    And I've no idea how to do that!! Can anyone help please?

    Alison

  2. #2
    Join Date
    May 2012
    Location
    Hitchhiking the Galaxy
    Posts
    1,013
    Thanks
    47
    Thanked 139 Times in 139 Posts
    Blog Entries
    1

    Default

    Is there any particular reason that you are using a PDF rather than a straight form? It would be a lot easier and user friendly to do that then to have to fill out a PDF form.
    "Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program." - Linus Torvalds
    Anime Views Forums
    Bernie

  3. #3
    Join Date
    Oct 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Mainly because I did the form originally to be emailed out to people. For the sake of continuity, it seemed like sense to keep the form the same for the website as well.

  4. #4
    Join Date
    May 2012
    Location
    Hitchhiking the Galaxy
    Posts
    1,013
    Thanks
    47
    Thanked 139 Times in 139 Posts
    Blog Entries
    1

    Default

    I would probably suggest an actual form, for simplicity if nothing else.
    "Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program." - Linus Torvalds
    Anime Views Forums
    Bernie

  5. #5
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Sorry, but it just doesn't work like that. A PDF is a file, not part of a website. They can send it as an attachment by email or you could have an "upload" option on your site. But the PDF itself won't do this.

    What Bernie has said is the best answer-- re-create this form as a website using an HTML form. Do not use a PDF. Then configure it to send the data to you directly. It will not be in PDF format, but it will work better for online use. Of course you can also keep the PDF if you want both options.

    Finally, if you absolutely must have a PDF automatically generated you can do that. There are a few PDF libraries out there for PHP (available as extensions) and probably for other serverside languages. One for PHP I know about is mpdf and there are others-- search google as needed. But these will be hard to use and require advanced knowledge of PHP (or another serverside language).

    So, it's all up to you, depending on your abilities/time/requirements. You could also hire someone to do it for you if you'd like. The "paid work requests" section here is one option.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  6. #6
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    1,998
    Thanks
    16
    Thanked 313 Times in 311 Posts
    Blog Entries
    12

    Default

    Maybe an online 3rd party service like this would help http://www.doculicious.com/do/home?

    Or if you want to try and tackle it yourself http://www.daniweb.com/web-developme...results-as-pdf
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

Similar Threads

  1. Form submitting
    By shellymabelly83 in forum PHP
    Replies: 1
    Last Post: 11-16-2011, 09:49 PM
  2. Replies: 4
    Last Post: 11-06-2008, 08:42 PM
  3. Submitting a form according to IP
    By big-dog1965 in forum PHP
    Replies: 6
    Last Post: 01-07-2008, 05:45 PM
  4. Form Submitting only once
    By Darkangler in forum PHP
    Replies: 1
    Last Post: 10-30-2007, 04:00 AM
  5. Recall Form Values script 1 - problem after submitting form
    By FirkinB in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 05-01-2007, 08:50 PM

Bookmarks

Posting Permissions

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