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 interactive file browsers. Special HTML icons A. Input Image icon B. Hidden icon C. Key Generator icon D. File Browser icon - The Input Image icon lets you use an image, such as a 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 Input Image icon from the Forms set in the Objects palette to your form.
- Link the image placeholder with a graphic using the Point and Shoot button or the Browse button in the Image Inspector. (See Linking files.)
- In the More tab of the Form Image Inspector, set up the input image. Two items are important for inputting images:
- Select Form, if you plan to use the image as a clickable button. (This is selected by default.)
- Be sure to enter a name in the Name text box to identify the input image as a unique item. This is especially important if you are using several graphical submit buttons within the same form. The text you enter in the Name text box is appended to the x and y coordinates sent to the CGI script to indicate that viewers have clicked a specific input image on the page, and to trigger a button-specific action.
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.
|