# Simple search without JavaScript

**URL:** <https://zola.discourse.group/t/simple-search-without-javascript/1665>\
**Category:** Support\
**Created:** [February 23, 2023, 8:26pm UTC](https://zola.discourse.group/t/simple-search-without-javascript/1665 "2023-02-23T20:26:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rubens](https://avatars.discourse-cdn.com/v4/letter/r/54ee81/32.png) [@rubens](https://zola.discourse.group/u/rubens)\
**Post date:** [February 23, 2023, 8:26pm UTC](https://zola.discourse.group/t/simple-search-without-javascript/1665/1 "2023-02-23T20:26:36Z")

</div>

I am trying to implement a simple search bar that will redirect the query to an external search engine like this:

```auto
<form action="https://searx.fmac.xyz/search" method="get">
  <input name="q" type="text" size="25" maxlength="255" placeholder="Search…" />
  <input type="submit" value="Search" />
</form>

```

But upon submitting a search term nothing happens. Changing the search engine does not solve this. Has that anything to do with Zola or am I missing something?

---

<div class="post-metadata">

**Author:** ![keats](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@keats](https://zola.discourse.group/u/keats)\
**Post date:** [February 23, 2023, 8:34pm UTC](https://zola.discourse.group/t/simple-search-without-javascript/1665/2 "2023-02-23T20:34:34Z")

</div>

This is plain HTML, nothing to do with Zola

---

<div class="post-metadata">

**Author:** ![rubens](https://avatars.discourse-cdn.com/v4/letter/r/54ee81/32.png) [@rubens](https://zola.discourse.group/u/rubens)\
**Post date:** [February 24, 2023, 11:26am UTC](https://zola.discourse.group/t/simple-search-without-javascript/1665/3 "2023-02-24T11:26:41Z")

</div>

What’s strange about this is that the exact same code snippet works in Hugo. So I wonder if other Zola users have the same problem with it?

---

<div class="post-metadata">

**Author:** ![rubens](https://avatars.discourse-cdn.com/v4/letter/r/54ee81/32.png) [@rubens](https://zola.discourse.group/u/rubens)\
**Post date:** [February 24, 2023, 3:39pm UTC](https://zola.discourse.group/t/simple-search-without-javascript/1665/4 "2023-02-24T15:39:19Z")

</div>

Nevermind, I figured out what the problem was. Please feel free to delete this thread.
