Я то пишу не проверяю ) поидее так
$(document).ready(function() { var $select = $('#select'), $custom = $('#custom'), $customValue = 'Другое', $name = $select.val(); $select.on('change', function() { if ($select.val() == $customValue) { $('#custom').show(); } else { $('#custom').hide(); } }); $('#form').on('submit', function() { if ( ($select.val() == $customValue) && ($custom.val() != '') ) { $select.val() = $custom.val(); } else{ $select.val() = $name; } }); });