We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to Validate a field filled on an Acro Pdf file?

Thread ID:





145333 Jun 18,2019 04:02 AM UTC Jun 19,2019 12:08 PM UTC Xamarin.Forms 1
Tags: PdfViewer
Will Autio
Asked On June 18, 2019 04:02 AM UTC

I have an Acro Pdf file that I read into an SfPdfViewer. Then I can fill in all the fields of the form. What I need to do, is OnSave, to find all the Required fields and confirm that they indeed have data. But when I loop through the fields I only have the initial values. How can I access the values that have been filled in just now so they can be validated?

Sathish Sivakumar [Syncfusion]
Replied On June 19, 2019 12:08 PM UTC

Hi Will, 

We need to save the PDF document once we added the form fields using SfPdfViewer, then only we can retrieve the newly added values from the form fields present in PDF document. We have created a simple sample to achieve you requirement and it can be downloaded from below link. 

If our observation is different from your requirement, please share your requirement with more details and it will be helpful for us to assist you better. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon