www.webdeveloper.com
Results 1 to 3 of 3

Thread: Only Search button appears default values

  1. #1
    Join Date
    Sep 2004
    Location
    CYprus
    Posts
    61

    Only Search button appears default values

    I have a search form, what i want to do is to show all the listings that have the student value to YES. I only want to press the student choice , the option should be hidden(Only Button to appear). Can this be done?

    PHP Code:
    <form action="/component/option,com_hotproperty/task,asearch/Itemid,27/" method="POST" name="searchfrm">


    <
    select name="Student" class="inputbox" size="1">

            <
    option value="Yes">Yes</option>
    </
    select>
    <
    input type="submit" value="Student Choice" class="inputbox" />
                </
    form
    Last edited by nikolas22t; 08-11-2007 at 05:56 PM.
    IT4CoName.com Domain Name Registration Sold over 40,000 domains
    IT4Co.com Webdesign & Webdevelopment IT4Co offers Premium Webdesign & Webdevelopment Services

  2. #2
    Join Date
    Sep 2004
    Location
    CYprus
    Posts
    61
    Thats the code..
    PHP Code:
    <form action="/component/option,com_hotproperty/task,asearch/Itemid,27/" method="post" name="searchfrm">
        
    <
    input type="hidden" name="Student" value="Yes">

        <
    input value="Student Choice" class="inputbox" type="submit" />
    </
    form

    The other problem that i have is that i want to replace the button with an image ... how i can do this?
    Last edited by nikolas22t; 08-17-2007 at 07:14 AM.
    IT4CoName.com Domain Name Registration Sold over 40,000 domains
    IT4Co.com Webdesign & Webdevelopment IT4Co offers Premium Webdesign & Webdevelopment Services

  3. #3
    Join Date
    Sep 2004
    Location
    CYprus
    Posts
    61
    PHP Code:
    <form action="http://nicosiarent.com/component/option,com_hotproperty/task,asearch/Itemid,27/" method="post" name="searchfrm">
    <
    input type="hidden" name="Student" value="Yes">
    <
    INPUT TYPE="image" SRC="/images/stories/student.png" VALUE="Student Choice" ALT="submit" NAME="submit">
    </
    form>
    <
    br><br
    IT4CoName.com Domain Name Registration Sold over 40,000 domains
    IT4Co.com Webdesign & Webdevelopment IT4Co offers Premium Webdesign & Webdevelopment Services

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles