Add query form validation and show item's name and link in query listing