form validation and selectpicker() added