You look to be using jQuery code to get the value.
Is your code encased in jQuery document ready?. If not $('#searchType').val(); will not work.
Use
var searchOptions = jQuery('#searchType').val();
or
var searchOptions = registry.byId("searchType").get("value");
If you are not getting a value for searchOptions it will return null because you don't have a default for your switch.
Ray