Graeme Posted September 5, 2013 Report Share Posted September 5, 2013 Hello All, I have seen a search method on a web site that I thought would be helpful, the code is <form id="form" name="form" method="post" action="#"> <span> <input name="q" type="text" class="keywords" id="textfield" maxlength="50" value="Search..." /> <input name="b" type="image" src="images/search.gif" class="button" /> </span> </form> How could I get this to go on a web site? I'm guessing it might have something to do with the action Thank you as always. Best wishes Graeme Quote Link to comment Share on other sites More sharing options...
kralcx Posted September 8, 2013 Report Share Posted September 8, 2013 yes what you have above is just the html for the form itself. To make the form functional you need some type of sendmail.php script to make it work e.g. <form id="form" name="form" method="post" action="sendmail.php"> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.