Search Form Basics
2 posts by 1 authors in: Forums > CMS Builder
Last Post: August 6, 2010 (RSS)
By keith_s - August 6, 2010
I am working on a very simple form at http://www.southwindford.com/index.php. The page that it should post to is
http://www.southwindford.com/all_vehicle_listings.php.
There are 4 fields on my form - 2 radio buttons and 2 dropdown boxes. For some reason, the form is simply not working. Can you tell me what the basics of the search form are?
FYI, the radio buttons search a field called "condition" which is a dropdown field on the "listings" section editor. The only 2 options for the "condition" field are either "New" or "Used".
One text field is titled "year", and is a dropdown field on the "listings" editor.
The second text field is titled "category_name". It also exists as a field on the "listings" editor, but is created by the "get options from database" feature. (It is ultimately a field in a table named "vehicle_category").
The form returns empty results no matter what is posted. I want it to return only results that match all conditions (new or used, year, and vehicle category). What do I need to do to make this work?
http://www.southwindford.com/all_vehicle_listings.php.
There are 4 fields on my form - 2 radio buttons and 2 dropdown boxes. For some reason, the form is simply not working. Can you tell me what the basics of the search form are?
FYI, the radio buttons search a field called "condition" which is a dropdown field on the "listings" section editor. The only 2 options for the "condition" field are either "New" or "Used".
One text field is titled "year", and is a dropdown field on the "listings" editor.
The second text field is titled "category_name". It also exists as a field on the "listings" editor, but is created by the "get options from database" feature. (It is ultimately a field in a table named "vehicle_category").
The form returns empty results no matter what is posted. I want it to return only results that match all conditions (new or used, year, and vehicle category). What do I need to do to make this work?
Re: [webgfx] Search Form Basics
By keith_s - August 6, 2010
Never mind guys. I looked at the online documentation at http://www.interactivetools.com/docs/cmsbuilder/viewer_search.html and it helped me get everything I needed.
Works great!
Works great!