Update basic_form.rb

added a sample about switch field.
Merge pull request #3 from cactis/patch-2

Update basic_form.rb