Top "Form-helpers" questions

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

Rails simple_form checkboxes for serialized Array field

I am using SimpleForm to build my form. I have say the following model: class ScheduledContent < ActiveRecord::Base belongs_…

ruby-on-rails-3 simple-form form-helpers
Html.LabelFor statement not displaying as assigned value

I'm displaying a GuarantorName inside a foreach statement via an Html.LabelFor helper. However, I'm not getting the expected result. …

asp.net-mvc form-helpers
Ruby on rails: Select options menu with default value attribute

I need to produce a select menu with a Default value on the list of <options> . Here is …

ruby-on-rails form-helpers
How do I get the HTML 'name' attribute a rails form builder will generate for a certain field?

When you've got a form field such as this: <%= f.text_field :last_name %> it will generate this …

ruby-on-rails forms form-helpers formbuilder
Input wrapper div class in CakePHP 3.0.0

How can I change input wrapper div class in CakePHP 3.0.0.? My code is: <?= $this->Form->input('mobile',[…

cakephp form-helpers cakephp-3.0
Ruby/Rails - Properly Display/Format Text From The Text Area Form Control

I have a interesting problem. I have a :text field in my model with displays a large chunk of data, …

ruby-on-rails forms textarea form-helpers
How do I change the text_area default size for a form in rails 3?

I'm going through Agile Web Development with Rails and I'm having some trouble with the form helper text_area. Specifically, …

forms ruby-on-rails-3 form-helpers
Rails: Adding options to collection_select

I am using a collection_select field, but need to prepend the options with some default one, wich does not …

ruby-on-rails-3 form-helpers
collection_select method gives error in Rails 3.1.1

I have a Model called Category and other Model Product. They have has_many and belongs_to relation. But code …

ruby-on-rails-3 ruby-1.9.2 form-helpers
CakePHP 2.0 Select form Multiple selected

I have have this dropdown menu where you can select multiple values. Now let's say I want to edit my …

php cakephp-2.0 selected form-helpers