Search 自定义域搜索栏WHMCS集成

Search 自定义域搜索栏WHMCS集成,search,dns,searchbar,whmcs,form-control,Search,Dns,Searchbar,Whmcs,Form Control,我正在尝试集成WHMCS中的几行代码,以便在输入字符串时搜索可用性的“域搜索栏”。这是用于域订购,允许潜在客户直接进入购物车并输入域。见下文: <form action="https://sales.tgitmedia.co.za/cart.php?a=add&domain=register" method="post"> Find your Domain: <input type="text" name=&q

我正在尝试集成WHMCS中的几行代码,以便在输入字符串时搜索可用性的“域搜索栏”。这是用于域订购,允许潜在客户直接进入购物车并输入域。见下文:

<form action="https://sales.tgitmedia.co.za/cart.php?a=add&domain=register" method="post">
Find your Domain: <input type="text" name="query" size="20" />
<input type="submit" value="Go" />
</form>

查找您的域:
接下来,我找到了一个免费的Colorlib搜索栏主题,我使用CSS设计了这个主题。但我不知道如何将这两个代码混合在一起,以便在键入内容时搜索按钮能够工作

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="author" content="colorlib.com">
    <link href="https://fonts.googleapis.com/css?family=Poppins" rel="stylesheet" />
    <link href="css/main.css" rel="stylesheet" />
  </head>
  <body>
    <div class="s130">
      <form>
        <div class="inner-form">
          <div class="input-field first-wrap">
            <div class="svg-wrapper">
              <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
                <path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path>
              </svg>
            </div>
            <input id="search" type="text" placeholder="Enter your website name" />
          </div>
          <div class="input-field second-wrap">
            <button class="btn-search" type="button">SEARCH</button>
          </div>
        </div>
        <span class="info">example .com .co.uk .net </span>
      </form>
    </div>
    <script src="js/extention/choices.js"></script>
  </body><!-- This templates was made by Colorlib (https://colorlib.com) -->
</html>

搜寻
example.com.co.uk.net
我多次尝试整合这两个代码,但都没有成功。需要帮忙吗