Blank form submit displays all listings

2 posts by 2 authors in: Forums > CMS Builder
Last Post: August 16, 2010   (RSS)

By (Deleted User) - August 16, 2010

Hi,

This is my form:

<form method="POST" action="http://www.koshertravelinfo.com/minyan/minyan_listing.php">
<input type="text" name="minyan_name_keyword" value="">
<input type="submit" name="submit" value="Search Minyan">
</form>



If a site visitors clicks on the submit button, without entering any text in the text field of the form, all listings are displayed. It also hapens on our other forms like "Search by City":

<form method="POST" action="http://www.koshertravelinfo.com/minyan/minyan_listing.php">
<input type="text" name="city_keyword" value="">
<input type="submit" name="submit" value="Search Minyan">
</form>

Is there away to only display listings if the visitors enters some text inthe form field?