Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Apr 2011
    Thanked 0 Times in 0 Posts

    search box beautify help


    I am new here and have been struggling to create a search box.
    The search is working but its impossible to make it look "slick"

    Basically I need a cool looking box that has the option to search in 3 different databases (off-site) and return the results in a new page.

    right now the code simply puts 3 search boxes underneath each other, but ideally it would have 3 options under the type area where one can select which particular database to search in.

    This is what I can do, I have reached the max of my capabilities. please help!

    <div style="float:right; margin-top: 5px">

    <form action="http://www.someurl.com/cgi-bin/search_preprocess.cgi" method="post">

    <input type="hidden" name"=mode" value="case">
    <input type="search" name="citation" size=27 value="" placeholder="e.g. [2000] 1 AC 360">
    <input type="submit" value="Go"><br>

    <input type="hidden" name"=mode" value="case">
    <input type="search" name="titleall" size=25 value="" placeholder="e.g. barber v somerset">
    <input type="submit" value="Go"><br>

    <input type="hidden" name="mode" value="legis">
    <input type="search" name="all" size=25 value="" placeholder="e.g. sustainable energy">
    <input type="submit" value="Go"><br>

    <span class="helper"></span>

  • #2
    Senior Coder
    Join Date
    Jan 2011
    Thanked 662 Times in 661 Posts
    lawstudent the search of three DBs looks to me to be done with your on-site code. You do not need three search boxes. Modify your code to accept one input and do the 3 searches.


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts