@protocol PSPDFFormSubmissionDelegate <NSObject>


protocol PDFFormSubmissionDelegate : NSObjectProtocol

Delegate for form submission actions. When a form submission action is run, the delegate will be queried in this order:

  1. formSubmissionControllerShouldPresentResponseInWebView: – should the view controller push a web view with the received response data. If yes then the web view takes responsibility for the connection and call 4 is not made.
  2. formSubmissionController:shouldSubmitFormRequest: – if no then the operation is cancelled.
  3. formSubmissionController:willSubmitFormValues: – the submission is going ahead. 4.a formSubmissionController:didReceiveResponseData: – the submission has completed successfully OR 4.b formSubmissionController:didFailWithError: – the submission has failed