Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to create ASP script

New Here ,
Aug 14, 2018 Aug 14, 2018

I want to create an ASP script that reads the value of a PDF form and send it to an email address. I have a VB script to do the job but the syntax are different from the PDF form ones

TOPICS
PDF forms
403
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
LEGEND ,
Aug 15, 2018 Aug 15, 2018
LATEST

If you are an experienced ASP developer you need to know that PDF forms can submit in multiple formats.

- HTML format should allow similar code to read field values.

- PDF format is the entire filled in PDF, not suitable for getting the fields, but for processing the whole file (eg archive, email it).

- XFDF provides the field values packages in XML; you take the input as a submitted file then parse the info needed with an XML library.

- FDF is an older format with field info.

You then have to know what response to make. If submitted from the free Reader you can’t return HTML. Returning FDF is a useful option; the returned data populates the form field.

If you are not an experienced ASP professional, and if this is internet-facing DO NOT MAKE THIS YOURSELF. It pains me to say this because it’s a good introduction to web development. But your ASP would be under constant automated attack by motivated hackers who know all the kinds of oversights made by new programmers, and who would then take over the server. They might just host porn but more likely they will steal anything else in the server and future customer data, and launch attacks in your inner network. The legal liability and potential reputations damage are unlimited. 

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 15, 2018 Aug 15, 2018
LATEST

If you are an experienced ASP developer you need to know that PDF forms can submit in multiple formats.

- HTML format should allow similar code to read field values.

- PDF format is the entire filled in PDF, not suitable for getting the fields, but for processing the whole file (eg archive, email it).

- XFDF provides the field values packages in XML; you take the input as a submitted file then parse the info needed with an XML library.

- FDF is an older format with field info.

You then have to know what response to make. If submitted from the free Reader you can’t return HTML. Returning FDF is a useful option; the returned data populates the form field.

If you are not an experienced ASP professional, and if this is internet-facing DO NOT MAKE THIS YOURSELF. It pains me to say this because it’s a good introduction to web development. But your ASP would be under constant automated attack by motivated hackers who know all the kinds of oversights made by new programmers, and who would then take over the server. They might just host porn but more likely they will steal anything else in the server and future customer data, and launch attacks in your inner network. The legal liability and potential reputations damage are unlimited. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines