Set Submit Flag

The Java FormEditorExamples.setSubmitUrl(...) method includes:

Configure a submit flag

  1. Bind the source PDF to the FormEditor facade.
  2. Set the submit URL for the button field.
  3. Set the submit flag for the required format.
  4. Save the updated document.
editor.setSubmitUrl("Script_Demo_Button", "http://www.example.com/submit");
editor.setSubmitFlag("Script_Demo_Button", SubmitFormFlag.Xfdf);

Use that combined example as the source-backed Java workflow for configuring a submit flag in this repository.