SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 1274 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

My preference is to
name each form element with two parts: context and type. The first part of the name describes
its context or how it is used on the page; the second part indicates what kind of form element is used. For
example, a text field that holds the last name of a visitor is called lastnameText; whereas a drop-down list
that lists office locations is locationsList. After a while, your naming convention becomes second
nature to you, and you can easily remember what each form element has been named.
4. Select the
tag on the Tag Selector and, in the Action field of the Property inspector, enter
the path to the dynamic page containing the application. Alternatively, you can click the folder
icon to locate the file.
5. Also in the Property inspector, set the Method property of the form to Post. When you??™re passing
variables and values via the URL query-string technique, described previously in the section
???Using the URL to Pass Parameters,??? use the Get method. To pass the values of the form without
exposing them in the URL, use Post.
When you??™re deciding whether to use POST or GET to pass your parameters, also decide
whether you want to be able to pass those variables easily to other pages. GET is the easier
method to use when passing variables.


Pages:
1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286