Show TOC

Accessing Form FieldsLocate this document in the navigation structure


HTML form fields (name/value pairs) can also be sent with the request. In the request, they are flagged with a '?' in front of the first form field; the different form fields are concatenated with '&'. You can use the method Get_form_field() to access the individual form fields, or you can use the method Get_form_fields(), as with the header fields. This sends an internal table with the form fields. The form fields are always sent as name/value pairs.


The following example shows the form field formtest being accessed. The value of the field is set in the browser and you can configure the HTTP request handler to react accordingly. For example, you can call an application dynamically.

Data: form_data type string.


form_data = server->request->get_form_field('formtest').