I have a form in rails using <%= form\_for... %> and I was wondering what do I need to do so that the user has to submit values before submitting?

I have input field, radio buttons, and checkbox.

```
<%= form_for @user, :html => {:multipart => true} do |f| %>
  <%= f.text_field :textfield %>
  <%= f.check_box :checkbox %>
  <%= f.radio_button :radiobutton %>
<% end %>

```

How do I tell my form that `:textfield`, `:checkbox`, and `:radiobutton` needs to be filled out or checked or something before submitting?

Thanks!