Index: branches/LCSv1/controllers/default.py
===================================================================
--- branches/LCSv1/controllers/default.py	(revision 610)
+++ branches/LCSv1/controllers/default.py	(revision 612)
@@ -43,5 +43,5 @@
                 INPUT(_name='enddate',_class='date'),BR(),
                 INPUT(_value="Search", _type='submit', _class="btn btn-primary btn-default", _style="margin:  7% 45% 2% 40%;"))
-    if form.process().accepted:
+    if form.process(onvalidation=special_validation).accepted:
         # Put the form fields into the session variables
         session.closureid = form.vars.closureid
@@ -53,4 +53,9 @@
         redirect(URL('results'))
     return dict(form=form)
+# Search Form: Special validation check to reject lognum without closureID
+def special_validation(form):
+    # Error if a lognum was given and no closure id
+    if (len(form.vars.lognum) > 0 and len(form.vars.closureid) == 0):
+       form.errors.lognum = 'Must provide a closureID when specifying a log number'
 # Show the item that was found in the search
 def results():
