code: public static PdfAction createSubmitForm(String file, Object names[], int flags) {
          PdfAction action = new PdfAction();
          action.put(PdfName.S, PdfName.SUBMITFORM);
          PdfDictionary dic = new PdfDictionary();
          dic.put(PdfName.F, new PdfString(file));
          dic.put(PdfName.FS, PdfName.URL);
          action.put(PdfName.F, dic);
          if (names != null)
              action.put(PdfName.FIELDS, buildArray(names));
          action.put(PdfName.FLAGS, new PdfNumber(flags));
          return action;
      }
docs: Creates a submit form.
  @param file	the URI to submit the form to
  @param names	the objects to submit
  @param flags	submit properties
  @return A PdfAction