Tools - Form generator
The form generator is used for complex form preparation. It allows you to specify all parameters and place any form elements you may need. You launch the tool from the Main Menu / Tools / Forms / Forms Editor, or from the Tables and Forms bar. The command icon is shown next to it.
The tool's window contains two tabs: Form settings
The options of this tab allow you to specify options for submitting the form:
Action
In this field, enter the address to which the form is to be sent. This can be, for example, the address of a CGI script, an email address, etc. To make your work easier, you can use the list, which includes the most popular names of data transfer protocols on the Internet. Method
Select the form submission method (GET or POST) from the list. Target window
Select from the list, or specify the name of the window into which the page resulting from the form submission will be loaded. Encoding
In this field you can specify in what format you want to send the data. This is needed, for example, when sending attachments to a form. Character set
In this field you can specify the national character encoding to be used to encode the texts in the form. Remember that these encodings must be supported by the server, otherwise the texts may be recognized incorrectly. If you enter more than one encoding, the individual encodings should be separated by commas. File types
In this field you can enter the types of files that can be sent as attachments to the form. If you enter more than one type, the different types should be separated by commas. Element style
This group allows you to specify the style for the tag. Here you will find three fields that allow you to specify: Definition of style
In this field you define the style for the element to be placed in the document. The button next to it launches the style editor tool that allows you to create a style definition in a friendly and convenient way. By clicking there you can also modify an existing style. Class selection
In this field you specify the class identifier assigned to the tag. The drop-down list allows you to access classes defined in the current document and in external style sheets attached to it. The button next to it launches the tool for creating a new class. Item ID
Here you provide a unique identifier for this element in the document. These identifiers can be used, for example, when making jumps to specific parts of the page or in scripts.
Form elementsThis tab is used to insert all its elements into the form. The inserted items will appear in the list. Here you can change the content of each element tag directly.
The buttons on the right side of the list allow you to launch the tools for creating form elements:
Line wrapping
Select this option if you want the rows in the item list to wrap so that long rows are displayed in their entirety. "Events and Attributes" button
The "Events and Attributes" button allows you to open the Events and Other Attributes window. This window allows you to specify additional attributes of the edited tag that do not have their counterparts in the tool window. There you can also specify events for scripting languages that allow you to achieve various special effects.
|