Search the Manual:

3.9.2.11 Working with Forms

Forms on a website are usually created by a web developer or someone who is familiar with HTML, so some of the terms associated with this feature may seem confusing - in some cases, they will be outside the scope of this manual and the capabilities of the general user. In those instances where programming knowledge is required, this manual will describe what a feature does without going into a lot of background detail.

When you begin to create your form, first you have to define the general parameters of the form, and then you will add the individual input elements using the instructions which follow.

You may wish to create a table to provide structure and format for your form first, and then build your form within the borders provided by your table.

Alternatively, you can build your form directly on your website page without a pre-set structure since the various tools are quite flexible in this regard.

As you create your forms, keep in mind the following key points:

  1. All form elements must be in a form. A button or input element added to your page does not have any function.
  2. Every form must have a "submit" button or it will not work.
  3. You can have multiple forms on a page, as long as each form has a submit button associated with it.

 

3.9.2.11.1 Inserting and Editing a Form



This button allows you to insert and edit a form on your page. When you click it, the Insert/Edit Form dialogue box will open on the General tab.

GENERAL TAB

In this area you can set and edit a variety of attributes for your overall form.

Once you have finished setting the general properties for your form, you may want to define some advanced properties.

Switch to the Advanced tab by clicking on it at the top of the Insert/Modify Form dialogue box.

 

ADVANCED TAB

This area of the Insert/Modify Form dialogue box allows you to make your form behave in various ways based on certain events by using JavaScript event handlers.

To use these functions, you must have knowledge of JavaScript and understand how to program JavaScript interactions with your form; otherwise leave all options in this area blank.

You may also wish to add hidden fields to your overall form definition. To do this, switch to the Hidden Fields tab by clicking on it at the top of the Insert/Modify Form dialogue box.

 

 

HIDDEN FIELDS TAB

A hidden field is a field that is not visible to site visitors, but still passes on its name and value when the form is submitted.

These fields are used when the person creating the form wants certain information submitted with the form, but does not want the visitor to have to enter that information.

For example; let's say I have created an "ask about this product" form on every page that describes a product on my site. I don't want the user to have to type in what page they are looking at as part of the form, but I do want that information so I can respond more accurately to the question(s) they submit with the form.

So, I create a hidden field on the form. I name it "page_viewed", and since this form is on my "Corvettes" page, I put in the value field "corvettes".

Now, when the form is submitted, along with the information entered directly into the form, I will also get the information "page_viewed = corvettes".

 

Once you have finished defining the general and advanced properties of your form, and added any desired hidden fields, click [Insert] at the bottom left of any of the three tabs on the Insert/Modify From dialogue box and your form area will be added to your page and you can begin to add the individual input elements or data entry fields to it.

 

 

 

3.9.2.11.2 Inserting and Editing Input Elements

This button allows you to add and edit the various input elements (fields) that will be used in your form.

When you click on the button, the Insert/Edit Form Input Element dialogue box will open on the General tab.

 

GENERAL TAB

 

Once you have finished setting the general properties for your input elements, you may want to define some advanced properties.

Switch to the Advanced tab by clicking on it at the top of the Insert/Edit Form Input Element dialogue box.

ADVANCED TAB

In this area you can define some advanced properties for your input elements. If you are familiar with JavaScript, you can also use this area to enter certain JavaScript event handlers.

To use the first eight functions (ID to onkeydown) on this tab, you must have knowledge of JavaScript and understand how to program JavaScript interactions with your form; otherwise leave these eight options blank. In addition, the Summary and Style at the end of the list of properties require knowledge of CSS styles and HTML programming and should otherwise be left blank.

Instructions for using the rest of the advanced properties on this tab are provided below.

Once you have finished defining both your general and advanced input element properties, click [Insert] to update your form and return to the page editing screen.

 

 

3.9.2.11.3 Inserting and Editing Select Elements

This button allows you to add and edit select elements (form elements that allow the user to select one or more options from a list) that will be used in your form. When you click it, the Insert/Edit Form Select Element dialogue box will open on the General tab.

GENERAL TAB


In this area you will define the general properties of any select elements that you add to your form.

Once you have finished setting the general properties for your select elements, you may want to define some advanced properties.

Switch to the Advanced tab by clicking on it at the top of the Insert/Edit Form Select Element dialogue box.

 

ADVANCED TAB

In this area you can define some advanced properties for your select elements. If you are familiar with JavaScript, you can also use this area to enter certain JavaScript event handlers.

To use the first six functions (ID to onclick) on this tab, you must have knowledge of JavaScript and understand how to program JavaScript interactions with your form; otherwise leave these six options blank.

In addition, the Summary and Style properties at the end of the list of properties require knowledge of CSS styles and HTML programming and should otherwise be left blank.

Instructions for using the other advanced properties on this tab are provided below.

 

 

3.9.2.11.4 Inserting and Editing Text Area Elements

This button allows you to add and edit text entry fields in your form.

Note:you can also add and edit text area elements using the Inserting and Editing Input Elements button on your toolbar ; however the Text Area button includes some additional properties

When you click on the button, the Insert/Edit Form Text Area Element dialogue box will open on the General tab.

 

GENERAL TAB

In this tab you will define the general properties of any text areas that you add to your form.

Once you have finished setting the general properties for your text area elements, you may want to define some advanced properties.

Switch to the Advanced tab by clicking on it at the top of the Insert/Edit Form Text Area Element dialogue box.

ADVANCED TAB


In this area you can define some advanced properties for your input elements.

If you are familiar with JavaScript, you can also use this area to enter certain JavaScript event handlers. To use the first eight functions (ID to onkeydown) on this tab, you must have knowledge of JavaScript and understand how to program JavaScript interactions with your form; otherwise leave these eight options blank. In addition, the Summary and Style properties at the end of the list of properties require knowledge of CSS styles and HTML programming and should otherwise be left blank.

Instructions for using the rest of the advanced properties on this tab are provided below.

Once you have finished defining both the general and advanced properties for your text area element, click [Insert] at the bottom left of either tab to update your form and return to the page editing screen.