Содержание

PostForm

Fills out a form and sends the specified data to the specified address.

Syntax

function PostForm(aURL:string; aNames:array of string; aValues:array of string):string;

Parameters

  • aURL
    • type: string
    • functions: address where the form will be sent
  • aNames
    • type: array of string
    • functions: array of names of form fields
  • aValues
    • type: array of string
    • functions: an array of values of form fields ​​corresponding aNames

Returned value

  • type: string
  • functions: server response

Notes

  • Number of elements in the array aNames have to match the number of elements of array aValues

Examples

PostForm('http://mysite.ru',['field1','field2','fieldN'],['value1','value2','valueN']);