add selectDefault method, retrieve value from hidden input