PassMark Logo
Home » Forum

Paypal link going to zoom search page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • irenesut
    Junior Member
    • Oct 2010
    • 5

    #1

    Paypal link going to zoom search page

    Hi,
    The site I have a problem with is www.bridgetools.co.uk which has a paypal view cart button on every page. This link went to paypal until I added a search box to every page and now the view cart button takes me to the search page,apart from the home page. I have checked the form properties which seem to be ok. I am baffled.
    Hope you can help.

    Regards
    Irene
  • David
    Administrator
    • Dec 2004
    • 4714

    #2
    You have some coding errors in your HTML.

    For example on your search results page your code looks like this,

    <form method="GET" action="http://www.bridgetools.co.uk/public_html_search/search.html">
    <p align="center">
    <form method="GET" action="../search.php">
    <p align="center"><input type="text" name="zoom_query" size="20">
    <input type="submit" value="Search">
    ...
    <html>
    <head>
    ...
    </head>
    <body>
    ....
    <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">

    So you have lots of forum open tags, but you aren't closing the tags. Leading to the forms getting mixed up.

    I would suggest using the official W3 HTML validation service to check the HTML on your pages for errors.
    http://validator.w3.org/
    At the moment it find 62 errors just on your home page.

    Comment

    • irenesut
      Junior Member
      • Oct 2010
      • 5

      #3
      End tags

      Thank you for your response. I have made the correction and have had a look at the validator which you suggested so now I will tackle the other html issues.

      Kind Regards
      Irene

      Comment

      Working...