Looks like your JS should prevent this from happening.  If both are set the error message should be "Please enter a year of publication or select a status from the list.  Both are not allowed."