Forms

  • Delegate for form submission actions. When a form submission action is run, the delegate will be queried in this order: 1. formSubmissionController:shouldPresentWebViewForResponseData: – should the view controller push a web view with the response data. If yes then the web view takes responsibility for the connection and call 4 is not made. 2. formSubmissionController:shouldSubmitFormValues: – 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

    See more

    Declaration

    Objective-C

    @protocol PSPDFFormSubmissionDelegate <NSObject>

    Swift

    protocol PSPDFFormSubmissionDelegate : NSObjectProtocol
  • Represents one button form field in a PDF form. They come in three variants: - A push button that can have a action attached to it. - A check box that can be independently checked or unchecked. - A radio button that are mutually exclusive.

    A PSPDFButtonFormField can be the parent of multiple buttons, like a RadioButton group.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFButtonFormField : PSPDFFormField

    Swift

    class PSPDFButtonFormField : PSPDFFormField
  • Represents a choice form field in a PDF form. This allows the user to select one of the given options or, if isEdit is YES, enter their own option value.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFChoiceFormField : PSPDFFormField

    Swift

    class PSPDFChoiceFormField : PSPDFFormField