Update basic_form.rb

added a sample about switch field.