Index

Type aliases

FormRequestType

FormRequestType: "provide" | "preview" | "process" | "print" | "review" | "publish" | "workflow" | "image" | "form" | "reviewplain" | "copy" | "forward" | "alias" | "aliascopy" | "verify"

Possible request types for forms that indicate how the form was opened. To access the request type of the currently opened form, use XFC_METADATA.requestType zugegriffen. Some of these options are only for internal use and should not be used.

  • provide: When the form was opened for the first time and not submitted yet. No form records exists yet for the form.
  • preview: Preview of a form, ie. when you open the form in the preview mode of the designer.
  • print: When the form was opened by the server to generate a printed document, such as a PDF document or an image.
  • process: Processing a form. This is set when the form is submitted.
  • review: When the form is opened in the inbox. A form record now exists for the form.

FormUrlType

FormUrlType: "attachment" | "context" | "dataquery_db" | "dataquery_ldap" | "datasource_csv" | "datasource_db" | "datasource_json" | "datasource_xml" | "keepalive" | "plugin" | "previewAction" | "submitAction"

Possible values for the different types of URLs of FORMCYCLE. The following are currently available:

  • attachment: Base URL for accessing attachments uploaded via upload elements.
  • context: The current context path of the web application, eg. /formcycle.
  • dataquery_db: Base URL for accessing database queries as configured in the FORMCYCLE backend.
  • dataquery_ldap: Base URL for accessing LDAP queries as configured in the FORMCYCLE backend.
  • datasource_csv: Base URL for accessing CSV data sources as configured in the FORMCYCLE backend.
  • datasource_db: (deprecated) Use dataquery_db instead.
  • datasource_json: Base URL for accessing JSON data sources as configured in the FORMCYCLE backend.
  • datasource_xml: Base URL for accessing XML data sources as configured in the FORMCYCLE backend.
  • keepalive: URL for keeping the current session alive. Similar to a ping.
  • plugin: URL for executing servlet plugins.
  • previewAction: URL for requesting a preview of a form. A preview cannot be submitted.
  • submitAction: URL to which the form data is submitted.

FormVruleType

FormVruleType: "posinteger" | "plzDE" | "plzEN" | "posmoney" | "dateEN" | "integer" | "url" | "posmoneyOptionalComma" | "number" | "money" | "ipv4" | "phone" | "onlyLetterNumber" | "time" | "onlyLetterSp" | "email" | "dateDE"

Default or predefined data types for input fields. The following are currently available:

  • onlyLetterSp: Allows only letters and spaces.
  • onlyLetterNumber: Allows only letters, numbers, and spaces.
  • integer: Allows only integer, that is number without a decimal point, eg. 3, 0, or -21.
  • posinteger: Allows only positive integers, eg. 0, 3, oder 123.
  • number: Allows only numbers, including numbers with a decimal point, eg. 0.03, -99.2, or 42.
  • money: Requires the input to be a valid amount of money, ie. a number with exactly two decimal digits, eg. 2,00, -3,95, 0,00 or 897345,38.
  • posmoney : Requires the input to be a valid amount of money, not including negative numbers, eg. 0,00 or 2,34.
  • posmoneyOptionalComma: Requires the input to be a valid positive amount of money, with the decimal digits being optional, eg. 0,00, 0, 3,4, or 3.
  • email: Allows only valid (international) email addresses, eg. james@john.org or θσερ@εχαμπλε.ψομ.
  • dateDE: Allows only German-style dates (DD.MM.YYYY), eg. 22.05.1990.
  • dateEN: Allows only British-style dates (DD/MM/YYYY), eg. 22/05/1990.
  • time: Requires the input to be a valid time, in the format hh:mm, eg. 22:05 or 03:42.
  • plzDE: Allows only postal code from Germany, ie. exactly 5 digits, eg. 02349. Does not check whether such a code is actually registered within Germany.
  • phone: Allows only valid phone numbers, eg. 0234995483 or +49 351 4459654.
  • url: Allows only URLs, including the protocol, eg. http://example.com or https://www.james.org.
  • ipv4: Allows only IP4 addresses, eg. 127.0.0.1 or 10.42.42.13.