Form Post Problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi! I'm having a bit of a problem with my page. I have two form method=post
on the same page.

one is a search button and the other newsletter subscription button.

the search is on top of the newsletter. currently, the search is working
fine. however, when I enter an email address and click subscribe button for
the newsletter subscription, my page is directed to the search page (because
of the search form).

Can someone please help and show me how to validate or differentiate these
two forms? Is it possible?

thanks.

beginner
 
Ensure each form has its own unique name, and is enclosed by its own set of
<form....>...</form> tags.
Give a URL to the page for a better answer.

Ron
 
that's a life saver, Ron. thanks a mio!!

but, i noticed my text box has shifted up. it's just squeezing itself to the
top
 
i was thinking of just putting a transparent image to force it to space out
evenly and don't look so squashed.
 
Do you have this page on a web site where it can be viewed?
Try using tables to layout the forms, place the table entirely within the
form
<form.....>
<table border="0">
<tr><td> content</td> </tr>
<tr><td>......etc.
......
</table>
</form>

set cellspacing and cellpadding to separate the rows and cells to remove the
"squash".

Ron
 
that's it Ron, place table entirely within the form!!!

problem solved. THANKS!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top