Jump to content

Search Buttom Affecting Other Submit Button.


justlukeyou

Recommended Posts

I've just changed a page to add a search function.  However, for some reason it now affects a submit button for a discussion group.  When I try to submit a question to the discussion table it now thinks that I am trying to perform a search in my other search code.

 

Does anyone have suggestiosn on what is causing this?

 

This is the code for the discussion form.

 

<li class="buttons">

<input type="hidden" name="form_id" value="submit" />

<input id="saveForm" class="button_text" type="submit" name="submit" value="Submit" />
    
</li>

Link to comment
Share on other sites

Should I be closing this form?

 

<form action="/products/searchresults" method="POST">
<input type="text" name="keywords" size="20" class="homepagesearch" />
<input type="image"  value="Submit" img src="/images/search.png" alt="Search" name="image" />
</div>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.