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 907 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


Servers send all the information from a form in one long text string to whatever program or address is specified
in the action attribute. It??™s up to the program or the recipient of the form message to parse the string.
For instance, if I were to fill out a small form??”with my name, e-mail address, and a short comment such
as ???Good work!?????”the server would send a text string similar to the following:
lastname=Lowery&address=jlowery@idest.com&comment=Good+work%21
As you can see, the various fields are separated by ampersands (&), and the individual words within the
responses are separated by plus signs. Most non-alphanumeric characters??”such as the exclamation mark
in the example??”are represented by their hexadecimal values. Decoding this text string is called parsing the
response.
To ease maintenance of your code, choose a name that is descriptive, but that is not a reserved
word. For example, it is better to name a text field lastname than just name. TIP TIP
NOTE NOTE
NOTE NOTE
486
Adding Advanced Design Features Part III
Inserting a Form in Dreamweaver
A form is inserted just like any other object in Dreamweaver. Place the cursor where you want your form to
start and then either click the Form button in the Forms category of the Insert bar (see Figure 14-1) or
choose Insert ??? Form from the menu.


Pages:
895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919