General/text/shared/02/01170201.xhpSun Microsystems, Inc.converted from old format - fpesubmitting formsget method for form transmissionspost method for form transmissionsGeneralA form is a text document or spreadsheet with different form controls. If you create a form for a Web page, the user can enter data into it to send over the Internet. The data from the form controls of a form is transmitted to a server by specifying a URL and can be processed on the server.NameSpecifies a name for the form. This name is used to identify the form in the Form Navigator.URLSpecifies the URL to which the data of the completed form is to be transmitted.FrameDefines the target frame in which the loaded URL is to appear.Type of submissionSpecifies the method to transfer the completed form information.Using the "Get" method, the data of every control is transmitted as an environment variable. They are appended to the URL in the form "?Control1=Content1&Control2=Content2&..."; the character string is analyzed by a program on the recipient's server.Using the "Post" method, a document is created from the content of the form that is sent to the specified URL.Submission encodingSpecifies the type for encoding the data transfer.Data transfer of control informationWhen sending a form, all controls available in $[officename] are taken into consideration. The name of the control and the corresponding value, if available, are transmitted.Which values are transmitted in each case depends on the respective control. For text fields, the visible entries are transmitted; for list boxes, the selected entries are transmitted; for check boxes and option fields, the associated reference values are transmitted if these fields were activated.How this information is transmitted depends on the selected transfer method (Get or Post) and the coding (URL or Multipart). If the Get method and URL encoding are selected, for example, value pairs in the form <Name>=<Value> are sent.In addition to the controls that are recognized in HTML, $[officename] offers other controls. It should be noted that, for fields with a specific numerical format, the visible values are not transmitted but rather fixed default formats. The following table shows how the data of the $[officename]-specific controls is transmitted:
ControlValue PairNumeric field, currency fieldA decimal separator is always displayed as a period.Date fieldThe date format is sent in a fixed format (MM-DD-YYYY), regardless of the user's local settings.Time fieldThe time format is sent in a fixed format (HH:MM:SS), regardless of the user's local settings.Pattern fieldThe values of pattern fields are sent as text fields, that is, the value visible in the form is sent.Table controlFrom the table control, the individual columns are always transmitted. The name of the control, the name of the column, and the value of the column are sent. Using the Get method with URL encoding, the transmission is done in the form <Name of the table control>.<Name of the column>=<Value>, for example, with the value being dependent on the column.