Hello Support-Team,
We are interesting to use Aspose.Pdf for .NET product. We have already downloaded trial version of same product and go through the product features.
We need a following things in sample web application.
- Generate a PDF document from xml file using Aspose.Pdf.
- There should be two FormField in generated PDF document like FirstName & ListName.
- There should be a SubmitButton in PDF document to validate FirstName & LastName mandatory field and then post data to web-service.
We are implementing Aspose.pdf in sample web application and facing some issues. The sample web application generates a PDF file, then Open pdf document in Adobe , filling firstname & lastname detail and
click on submit button, When we click on submit botton, There is a validated
mandatory field value but same button click doesn’t post FormField data to
web-service if all fields are validated.
I have also mention code.
formEditor.AddSubmitBtn(“submitbutton”, 1, “Submit”, “http://localhost/PDFGeneration/PostData.asmx/SubmitData”, 100, 450, 150, 475);
formEditor.SetFieldScript(“submitbutton”, “var field = this.getField(‘FirstName’); if(field.value == ‘’) app.alert(‘Enter First Name’);if(this.getField(‘LastName’).value == ‘’) app.alert(‘Eneter Last Name’);”);
I have also verified that, there is a working fine either Validation or Webservice call but There is not working both validation and web-service call on same submit button.
Thanks