I get the impression you are not sure about the correct usage for syntax etc. I do assume you are familiar with dreamweavers form creation Here is a brief (for me !lol) explanation followed by a link which will show all the examples. You will need to be looking at the code view for your form in dreamweaver to see what im talking about.
The form is started with <form> and of course ended with </form> you can put other code in-between this such as tables.
Within the <form > tag we give the instructions as what to do with this data. Normally you only need to specify how and where the data is sent to. This is method=?post? and action=?webpage?
Eg <form method=?post? action=?/process.php?> this will send the form data to the webpage process.php when submit button is pressed.
There are several types of input field to get information, text, radio and checkbox. Text fields are quiet simply the boxes you type in text, such as those you used when you logged into this site with.
Checkbox, a square box you click to toggle which shows as a tick.
Radio, these are the round buttons which have a special property where you can select
only one. See this sites opinion Poll for example
Textarea large square which you define to enter block of text, such as the reply message box at bottom of this page. You havge to have extra commands to specify the size.
Select, to produce a drop down menu.
Hidden a hidden field if you want to include information that the user cant see such as a ntoe to yourself about the page the data came from.
Select, to produce a drop down menu.
To create one of the above we use <input> tag eg. <input type=?text?>
However this is just part of the tag we need a variable name in which the data is stored, this can be more or less what you want with a few exceptions you will run into problems if you use variables already reserved by php or whatever script/language you are sending the form to. (dotn worry too much for now!)
So if you wanted someones first name .. <input type=?text? name=?first_name?>
For multiple selections with radio or select you simply create a separate <input> tag for each option but specify the same variable name in then name=?? part eg:
We will also need to add yet another part to our <input> tag, a value.
<input type=?radio? name=?fav_col? value=?green?>This is Green
<input type=?radio? name=?fav_col? value=?red?>This is REd
<input type=?radio? name=?fav_col? value=?blue?>This is Blue
This will produce 3 round checkboxes of which you can only select one.
To create in Dreamweaver, click the radio group option under forms in names put the variable name eg fav_col. Then use the +- button to create the number of options you want. Label heading creates the text that will be displayed next to the button, eg This I s Red and value will be value stored in the variable eg red
There?s one more type I haven?t mentioned yet. Submit. This creates the all important submit button, you can have the standard grey button that everyone is familiar with or create your own icon or use a small image if this is better.
The name doesn?t particular matter unless you having several forms, which are being processed, and where you are using something like php where you this to tell the difference for now submit will do.
Value is the text which appears on the button
<input type=?submit? name=?submit? value=?click to submit?>
Ok I wont go into anymore detail, but I hope this will give you a better idea.
Please click here for a good reference,
Now what processing did you have in mind for the data? Am I right in assuming that like most people you want the results emailed to you? If so this process CAN be a lot more complicated and frustrating than people think.
Before I go on a long winded explanation of how to do this, tell me first if this is your intention. Also please answer the following .
Does your host allow you to use PHP with the hosting package you have?
Do you have a CGI-BIN directory/folder in your web-space ?
Oh and who are you hosted with.
Let me know and I will tell you further what options should be avaible to you.