corrected custom form select bug

CMS-2226