Perhaps this should be `var vals = $('#id_form_factor').val().split(',');`