Top "Form-helpers" questions

Forms in web applications are an essential interface for user input.

How to use Simple Ajax Beginform in Asp.net MVC 4?

I am new in Asp.net MVC and i researched about Ajax.BeginForm but when i apply codes it did …

ajax asp.net-mvc form-helpers ajax.beginform
How to make a check_box checked in rails?

I made checkboxes using the following rails form helper: <%= check_box("tag", tag.id) %> However, I need to …

ruby-on-rails ruby-on-rails-3 checkbox ruby-on-rails-3.2 form-helpers
rails erb form helper options_for_select :selected

I have an edit form in erb. <%= form_for @animal do |f| %> Within the code I have a …

ruby-on-rails ruby ruby-on-rails-3 selected form-helpers
adding a class to a text_field_tag

I am trying to give a class to my text_field_tag I have this <%= text_field_tag :login_…

ruby-on-rails ruby class form-helpers
Use custom id for check_box_tag in Rails

How do you set a custom id when using a check_box_tag helper in rails? I have a loop …

ruby-on-rails checkbox form-helpers
link_to delete url is not working

I have the following link_to delete url in my app <%=link_to "Delete",blog_path(@blog.id), :method =&…

ruby-on-rails link-to form-helpers ruby-on-rails-3
Rails 3 - Make text field accept only numeric values

How do I make a text field accept only numeric values? If I press a letter or a symbol, the …

ruby-on-rails-3 validation form-helpers
check_box_tag with label_tag click action

<%= f.label :category %><br/> <%= check_box_tag 'category[]', '1', false %> <%= label_…

ruby-on-rails ruby-on-rails-3 form-helpers
Custom HTML attribute requires a custom helper?

I'm trying to create a form with some custom data attributes on the inputs: <input type="text" data-family="Dinosaurs"&…

ruby-on-rails form-helpers custom-data-attribute
how form_for works in Ruby on Rails

I am an newbie. I have read the API documentation. But still don't understand how form_for works. Firstly, from …

ruby-on-rails rails-activerecord params form-for form-helpers