Research Forms

0

Is there any way to send data from a field of my html form eg I have an html page with a simple form Name field of the author and the other title field of the book and a search button, I would like it when I type in the Name field and clicked on searching that typed data was directed to Google page for example and did the search as if I had typed in the Google page that term and clicked search

    
asked by anonymous 07.09.2018 / 06:16

1 answer

0

Just create a form with action to https://google.com/search as the GET method and name your search field as q .

<form action="https://google.com/search" method="GET">
  <input type="text" name="q" />
  <button type="submit">Pesquisar</button>
</form>

    
29.10.2018 / 18:57