Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

GUI search function phrasing

 
Patrick Page
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Guys, I just recently got my assignment (B&S 2.3.3).

On reading through it, in the GUI specification I could use some clarification.
The Statement indicates:

It must allow the user to search for records where the name and/or location fields exactly match values specified by the user.


Does this mean that my main page should have 2 search bar options so that the CSR can do a combined search for both a name and a location simultaneously,

Or does it mean there should be 1 search field capable of handling a search for a name and location.
 
Roel De Nijs
Sheriff
Posts: 10392
132
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My GUI has 2 text fields (one for name and the other for location) and a search button. Some developers also added a combo box with conditional operator (AND / OR).
 
Himai Minh
Ranch Hand
Posts: 1310
6
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may want to put two textfields, name and location. When name field is filled, search by name. When location field is filled, search by location.
If both are filled, search for a record with that name and location. In this case, it usually returns you only one search result.
 
Patrick Page
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for that guys, Both very helpful.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic