Creating a form box

A form box designates the boundaries of an HTML form. A form box should contain one or more form controls, and may also contain hidden fields. To create a form box:

  1. Select the Form Box tool QuarkXpress tool form box Creating a form box from the Web Tools palette.
    • Choose Get if you want the Web browser to append the form data to the end of the URL of the target script or application.
    • Choose Post if you want the Web browser to send the form data to the target script or application as a separate HTTP transaction.
    • Choose None or Self to specify the same frame or window as the form.
    • Choose Blank to specify the target as a new, unnamed window.
    • Choose Parent to specify the target as the frame or window that is a parent to the form. If there is no parent window, the form data will display in the same window as the form (as though None or Self was specified in the Target field).
    • Choose Top to specify the target as the first window that does not contain frames — usually the page that introduces the form.
    • Choose Error Page to specify that a different HTML page should display, and then enter the URL of that page. You can also click Select/Browse to locate the target page manually, but note that this creates an absolute link; to create a relative link, manually enter the relative path to the target file.
    • Choose Dialog Message to specify that an alert should display in a dialog box, and then enter an alert message in the text box. To include the name of the first empty required field in the alert, use <missing field>. When the alert displays, this tag will be replaced with the names of the empty required fields.
  2. Click OK.

You can also create a form by drawing a form control in a blank area of a Web layout.

Note: Form boxes cannot overlap other form boxes.
Note: Form controls must be contained entirely within a form box.
Parent topic: Forms

Creating a form box