Adobe 38040334 - Dreamweaver CS3 User Manual page 690

Pc
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Note: If the image is outside the site root folder, you should copy the image to the root folder. Images outside the root
folder might not be accessible when you publish the site.
3
Select the image field on the page and set any of the following options in the Property inspector:
Lets you specify a unique name for the control.
Cfimagefield
Lets you specify the URL of the inserted image.
Src
Lets you specify a message when the image cannot be displayed.
Alt
Lets you specify the alignment of the picture.
Align
Lets you set the width of the image border.
Border
Opens the image in your default image editor.
Edit Image
To define a default image editor, select Edit > Preferences > File Types / Editors. Otherwise, the Edit Image button
does not perform any action.
Specifies the type of validation for the image field.
Validate
Specifies when the field is validated: onSubmit, onBlur, or onServer.
Validate At
Lets you specify a label for the radio button.
Label
Lets you specify a JavaScript regular expression pattern to validate input. Omit leading and trailing slashes.
Pattern
For more information, see the ColdFusion documentation.
Lets you specify the height of the control, in pixels.
Height
Lets you specify the width of the control, in pixels.
Width
Lets you specify the size of the control. This property is ignored by the ColdFusion server at run time.
Size
Lets you specify whether the control must contain data before the form is submitted to the server.
Required
Lets you edit properties not listed in the Property inspector.
Display Tag Editor
See also
"Modify ColdFusion form controls" on page 685
"Validate ColdFusion form data" on page 685
Insert ColdFusion file fields
You can visually insert a ColdFusion file field into your form and set its properties. Use a file field to let users select
a file from their computer, such as a word processing document or a graphics file, and upload it to the server. A
ColdFusion file field looks like other text fields, except it also has a Browse button. Users can manually enter the path
to the file they want to upload, or use the Browse button to locate and select the file.
File fields require that you use the
the address that you specify in the form's Action box. Contact your server administrator to confirm that anonymous
file uploads are allowed before using a file field in your form.
File fields also require that the form encoding be set to multipart/form. Dreamweaver sets this automatically when
you insert a file field control.
Note: This enhancement is available only if you have access to a computer running ColdFusion MX 7 or later.
In Design view, select the CFForm to display its Property inspector.
1
method to transmit files from the browser to the server. The file is posted to
POST
September 4, 2007
DREAMWEAVER CS3
683
User Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents