Hi Priya,
Thanks for contacting support.
I have tested the scenario using following code snippet where PDF file with Submit button displays in web browser and when pressing the button in Chrome, it tries to post data to application but when using IE for debugging, the submit button does not seem to be working. However in order for us to be certain about this problem, can you please your sample application for receiving form data when Submit button is pressed. We are sorry for this inconvenience.
[C#]
FileStream fs = new
FileStream(“c:/pdftest/BLUE±+2015+W-2+Copy+D.pdf”,
FileMode.Open, FileAccess.ReadWrite);<o:p></o:p>
// Instantiate Document instance
Aspose.Pdf.Document
pdfDocument = new Aspose.Pdf.Document(fs);
Aspose.Pdf.Facades.FormEditor
fe = new Aspose.Pdf.Facades.FormEditor(pdfDocument);
string submissionUrl = "http://localhost/app1/forms/test1";
string label = "Submit";
fe.SubmitFlag = Aspose.Pdf.Facades.SubmitFormFlag.Fdf;
fe.AddSubmitBtn(string.Format("SUBMITFORM_{0}", 1), 1, label,
submissionUrl, 500, 765, 600, 790);
fe.Save(fs);
fs.Dispose();
MemoryStream stream = new
MemoryStream();
// Save resulting PDF document.
pdfDocument.Save(stream);
Response.Clear();
Response.ClearHeaders();
Response.ClearContent();
Response.Buffer = true;
Response.Charset = "UTF-8";
Response.AddHeader("Accept-Header",
stream.Length.ToString());
Response.AddHeader("Content-Length",
stream.Length.ToString());
Response.AddHeader("Expires",
"0″");
Response.AddHeader("Pragma",
"cache");
Response.AddHeader("Cache-Control",
"private");
Response.AddHeader("content-disposition",
String.Format("inline;filename={0}",
"article" + "docId"+ ".pdf"));
Response.ContentType = "application/pdf";
Response.AddHeader("Accept-Ranges",
"bytes");
Response.BinaryWrite(stream.ToArray());
Response.Flush();
Response.End();