Hi,
I am trying to design a search form that when the user clicks on a "More" button, the search fields will be duplicated and added. Think of the search interface in Eudora, for example. A little ASCII art might illustrate the point.
FieldsList CriteriaList ValueField
---------- ------------ ----------
firstName contains
lastName is
city beginsWith
province endsWith
country is not
sounds like___________ ____________ ____________ |moreButton| |fewerButton| |searchButton| ------------ ------------- --------------
If the user wants to search for all people with the last name that sounds like Smith (e.g. Smythe, Smyth, Smith) in the city of Toronto, the user would select lastName and sounds like from the select lists, type Smith in the value field, click on the More button, select city and is from the select lists, type Toronto in the value field and hit the Search button. Once the Search button is clicked, it is relatively easy to capture the values in the form to generate a SQLObject query string. Once I have this working, I would be happy to share it with the world. Any ideas on how to do this with FormKit without having to resort to JavaScript or would I have to use JavaScript? Any sample code out there?
Regards,
Clifford Ilkay Dinamis Corporation 3266 Yonge Street, Suite 1419 Toronto, Ontario Canada M4N 3P6
Tel: 416-410-3326
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss
