|
Posted by Philip on 06/08/05 13:44
Someone asked me to write a homepage for their business, but because I
didn't know a lot of html (I don't need a lot for what I do), I declined.
He got someone else to do it, but for some reason they refused to upload
it, so he asked me if I could upload it. I said sure, and he gave me it on
a cd-r. While going over it though, I noticed an ordering form. I've never
used forms myself, so I didn't know what to make of it. I tried looking at
some html references, and something does indeed seem a little fishy about
it. But then, it could just be my ignorance on tables/forms. Here's the
relevant html:
<table>
<tr>
<td>
<tr>
<td width="100" height="20"><b><font face="Verdana" size="1"
color="#000000">Name:</font></b></td> <td width="200"
height="20"><input name="name" type="text" style="background-color:
#FFFFFF; color: #000000; font-family: Verdana; border: 1px;
border-color: #000000;border-style: solid" value="" size="20"></td>
</tr>
<tr>
<td width="100" height="20"><b><font face="Verdana" size="1"
color="#000000">Mail:</font></b></td> <td width="200"
height="20"><input name="E-mail" type="text" style="background-color:
#FFFFFF; color: #000000; font-family: Verdana; border: 1px;
border-color: #000000;border-style: solid" value="" size="20"></td>
</tr>
<tr>
<td width="100" height="20"><b><font face="Verdana" size="1"
color="#000000">Phone:</font></b></td> <td width="200"
height="20"><input name="phone" type="text" style="background-color:
#FFFFFF; color: #000000; font-family: Verdana; border: 1px;
border-color: #000000;border-style: solid" value="" size="20"></td>
</tr>
<tr>
<td width="100" height="20"><b><font face="Verdana" size="1"
color="#000000">Address:</font></b></td> <td width="200"
height="20"><input name="Address" type="text" style="background-color:
#FFFFFF; color: #000000; font-family: Verdana; border: 1px;
border-color: #000000;border-style: solid" value="" size="20"></td>
</tr>
<tr>
<td width="100" height="20"><b><font face="Verdana" size="1"
color="#000000">Assembled:</font></b></td> <td width="200"
height="20"><input type="checkbox" name="Assembled"
style="background-color: #FFFFFF; color: #000000; font-family:
Verdana; border: 1px; border-color: #000000;border-style: solid"></td>
</tr>
<tr>
<td width="100" height="19"><input name="post" type="submit"
style="background-color: #FFFFFF; color: #000000; font-family: Verdana;
border: 1px; border-color: #000000; border-style: solid"
value="Order"></td> </tr>
</td>
</tr>
</table>
</div>
[end]
The thing that bothers me is the bit at the bottom. AFAIK, usually when
one submits a form, it gets passed to a serverside script. This doesn't
seem to go anywhere. I want to upload this thing, but I'm hesitant,
because I don't want the guy to have a homepage with a dummy form on it.
Neither do I want to have to learn more html (or God forbid, perl), I
mean, that's why I declined in the first place.
Navigation:
[Reply to this message]
|