Adobe PDF Form submitted but Request.Form collection is empty

FnrLi10

New Member
I created a PDF form containing a textbox and a submit button. Users may open the PDF file in Adobe Acrobat Reader or in browser. After filling in the textbox and click on the submit button, an asp.net generic handler will process the submitted data.But the problem I'm having now is that there is no submitted form data.The PDF form submit button is setup as follow:
mZhis.png
and the server side code:\[code\]public class PdfFormHandler : IHttpHandler{ public void ProcessRequest(HttpContext context) { if (context.Request.RequestType == "POST") { var name = context.Request.Form["txtName"]; // <-- name is null. why? } } public bool IsReusable { get { return false; } }}\[/code\]the \[code\]context.Request.Form\[/code\] collection is empty. Where does the \[code\]txtName\[/code\] form element go?
 
Top