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

Sending a response back to the pdf

Hello,

I have form fields in the pdf which i am posting to a url. i am able to post the data no problem. but in the adobe reader I get an error "An error occured during the submit process". How can I send a response back (maybe even a message) saying something like "thank you for filling out this pdf form" in a message box.

thank you

1 Reply

AG Angappan G Syncfusion Team June 22, 2010 02:32 PM UTC

Hi Theo,

Thank you for your interest in Essential Studio.

Exception:
It is due to the browser handling the request. could you please run the sample in Internet Explorer and let us know.

Response:
We don't have support for getting back the response from the server but we can give a message to the user when the submit button is pressed by using the JavascriptAction,by using the below code snippet.

PdfJavaScriptAction javaAction = new PdfJavaScriptAction("app.alert(\"Thank You \")");

PdfButtonField submitButton = new PdfButtonField(page, "submitButton");

submitButton.Actions.GotFocus = javaAction;

Please try this and let us know if you have any queries.

Regards,
Angappan.




Loader.
Live Chat Icon For mobile
Up arrow icon