| Author |
URLyBird Search Fields
|
Tim Anlauf
Greenhorn
Joined: Oct 11, 2006
Posts: 22
|
|
Hello, I'am working on URLyBird v1.2.1 and not sure how to implement my search At the moment I have only an AND search. My sepc says:
It must allow the user to search the data for all records, or for records where the name and/or location fields exactly match values specified by the user.
Do anyone think that an OR search is required here ?
|
 |
Mihai Radulescu
Ranch Hand
Joined: Sep 18, 2003
Posts: 912
|
|
Hi, And - both, Or - only one (from both). Regards M.
|
SCJP, SCJD, SCWCD
|
 |
Tim Anlauf
Greenhorn
Joined: Oct 11, 2006
Posts: 22
|
|
I provided two textfields.( name and location ) 1. if a user enters a string in both --> all records where name and location matches are returned 2. enters only name --> all records where name mates are returned 3. same as 2. only with field location Is that right or must I have a checkbox ? Tim
|
 |
Mark Smyth
Ranch Hand
Joined: Feb 04, 2004
Posts: 288
|
|
Originally posted by Tim A...: I provided two textfields.( name and location ) 1. if a user enters a string in both --> all records where name and location matches are returned 2. enters only name --> all records where name mates are returned 3. same as 2. only with field location Is that right or must I have a checkbox ? Tim
Hi Tim, Think that is the right way to go about it, this is exactly the way I have implmented my search. I think it is another case of a poorly worded specification rather than a requirement to have and / or functionality on the name and location fields. Just make sure to mention exactly how it works in the userguide and choices text files. Mark.
|
SCJP<br />SCJD
|
 |
 |
|
|
subject: URLyBird Search Fields
|
|
|