PDA

View Full Version : How do I implement this form correctly?


animgirl
07-11-2003, 05:50 PM
Hello,

I've been working on a php form for my site.

Instead of all input boxes, I've decided to add some dropdown menus.

Well, my page is xhtml and this introduced some problems.
This is what it looked like before I added the dropdown menu:
http://www.alliancemusic.org/good.gif
And here's the code:<form action="online_consultation_form.php" method="post">
<div>
Name:<br />
<input type="text" name="name" size="25" />
<br />
<br />
Email address:<br />
<input type="text" name="email" size="25" />


When I added the dropdown menu, it looks like this:
http://www.alliancemusic.org/check_it.gif
And here's my code:
<form action="online_consultation_form.php" method="post">
<div>
check it baby:<br />
<select name="title">
<option value="Mr">Mr</option>
<option value="Mrs">Mrs</option>
<option value="Ms">Ms</option>
<option value="Miss">Miss</option>
<option value="Dr">Dr</option>
<option value="Choose" selected>Please select..</option>
<br />
<br />
Name:<br />
<input type="text" name="name" size="25" />
<br />
<br />
Email address:<br />
<input type="text" name="email" size="25" />


notice: because I am concentrating on this section of code, I did not include the closing div and form tags

The dropdown menu is going over the name input box, and no matter how many breaks I insert, I can't get it to move.

I hope I'm being clear.
thanks a mill
animgirl

animgirl
07-11-2003, 08:44 PM
Wow. Okay. That was easy.
I got that chunk of code from someone else, not thinking to review over it because I thought they knew what they were doing and I didn't know in this case. Mybad AGAIN today.

:rolleyes:
animgirl

animgirl
07-11-2003, 08:57 PM
No Bindel, yesterday was your off day, but I wouldn't ask you to remember it, because you were well - off.

I don't know php. :p

hehe
animgirl