Hi there, I am trying to use Google's Create On The Fly search engine ()and it looks simple and pretty enough and when I go to type anything into the box, it takes me right back to Google's Search page on how to build a search engine. When I attempt to edit any part of the code it totally screws up the entire look of the page and box itself.
here is the code:

<form name="cse" id="searchForm" method="post" action="http://www.google.com/cse">
<input type="hidden" name="cref" value="" />
<input type="hidden" name="ie" value="utf-8" />
<input type="hidden" name="hl" value="" />
<input name="q" type="text" size="30" />
<input type="submit" name="sa" value="Search" />
<script type="text/javascript" src=""></script>
</form>

Can anyone tell me what I might be doing wrong or an easier way to go about this? Would be most appreciated!! Y'all have been great on here!

URL: http://www.4cs.org.au

Recommended Answers

All 4 Replies

If you are using Google Search, then you should have a search id, which should be present in the form as a hidden field. I don't see it in your example.

id="searchForm"
a hidden field?
I have no idea what that means...
this is my first go at using a search engine.

See this:
Changes are, nothing is linked (had the same result on my page).

You have to COMPLETE registration and go to the control panel to get the code

when all else fails RTFM

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.