A setup of form

The purpose of the page using form is those who read a page inputting data using the input parts of form, and the program by the side of a server processing the data, and returning a result. Such a program is called CGI (CommonGateway Interface) program, and is described by the C language, a shell script, Perl, etc. A search engine etc. is a typical example. Since homepage ビルダー is not equipped with the function which supports creation of the program by the side of such a server, it is necessary to have CGI program for pages to create prepared separately.

If a program is ready, the address (URL) will be specified to be form.


For setting up URL of CGI program

  1. The portion of grounds other than the parts of the domain surrounded by the dotted line is clicked with a mouse, and a focus is applied to form.
  2. It is displayed on a focal display domain as "FORM", and checks that the focus has hit form.
  3. < Attribute change > icon を押して and a form attribute dialog are opened.
  4. URL is inputted. < Comprehension > button is pushed.

For setting up a method

There are two kinds of methods of GET and POST among the methods of passing a server data from a browser using form. If GET is used, the data inputted in form will be added to the last of CGI program specified by URL, and will be treated as an argument of CGI program. In the case of POST, input data is passed as a standard input of CGI program. Which is chosen specifies a method in a form attribute dialog according to the type of CGI program which receives data, although based on a case.



About the hidden field

The hidden field is used to pass a default argument to CGI program. The data specified here is not displayed on a browser. [A hidden field name] and [hidden field value] are become and passed to a pair.