search for: puppy_gooddog

Displaying 2 results from an estimated 2 matches for "puppy_gooddog".

2007 Apr 16
6
How to use a form.check_box ?
Hey guys, I''m trying to have a simple webform in my administration section to add a user. I have the text_fields for adding the user''s name, password, and password confirmation, but cannot seem to figure out the checkbox. I want it to be a single checkbox, that if clicked, will set the database column "access" to be "admin" and if its unchecked, set it to be
2006 Jun 18
0
Framework question about FormHelper ...
...w it is possible since the check_box has only a string parameters not instance object ? 2/ if you create your own helper which generate html identically as the check_box("puppy", "gooddog", {}, "yes", "no") do ( <input type="checkbox" id="puppy_gooddog" name="puppy[gooddog]" value="yes" /> <input name="puppy[gooddog]" type="hidden" value="no" />) =>Why you cannot get the paramater value in your controller ? params[:puppy][:gooddog] never return yes ... thanks arnaud