Setting up special HTML elements
A number of special HTML elements let you add images to your form buttons, insert hidden data, include cryptographic keys, and insert a file selection dialog box. - The Form Input Image icon
lets you use an image, such as a graphical Submit button. Inserting graphics can help viewers navigate through your pages. - The Hidden icon
inserts an HTML tag that does not display when you view the form in the browser. However, the form submits the HTML tag values with the rest of the form data. - The Key Generator icon
lets viewers address an encryption algorithm for safeguarding transactions with your Web site. For more information about form cryptographic issues, contact your ISP or Web site administrator. - The File Browser icon
inserts a file selection dialog box, but is rarely used.
To insert an input image placeholder: - Drag the Form Input Image icon from the Forms set in the Objects palette to your form.
- Link the image placeholder with a graphic by using the pick whip or the Browse button in the Form Input Image Inspector. (See Linking files.)
- In the Form Input Image Inspector, choose an option from the Name/ID menu (choose Name & ID for maximum browser compatibility), and then type a unique form input image name in the Name/ID text box.
Note: Naming the image is especially important when you are using several graphical Submit buttons within the same form. This name is appended to the x and y coordinates that the CGI script uses to indicate that viewers clicked that specific input image, and to trigger a button-specific action.. - Select the More tab and set up the input image as desired. (See Setting basic image options, Providing form navigation, and Setting up inactive elements in a form.)
Note: If you plan to use the image as a clickable button, make sure to select Is Form. (This option is selected by default.)
To set up a hidden tag, key generator, or file browser: - Drag the Hidden, Key Generator, or File Browser icon from the Forms set in the Objects palette to your table.
- Select the icon in the document window. In the Inspector, enter a unique name in the Name text box.
- Enter a value:
- For a Hidden tag, type a default value in the Value text box.
- For a Key Generator tag, type the security level in the Challenge text box.
- For a File Browser, type the file browser window width value in the Visible text box.
|