Displaying 1 result from an estimated 1 matches for "__square".
Did you mean:
r_square
2006 May 11
3
multiple checkbox values, convert to string, 1 db field
...then be searchable. I.e., when a user creates a
new Item, there is also a keywords field in the database that is a
string like "purple triangle free" -- but all the user sees when they
are creating the keywords is a series of checkboxes like:
__blue
__red
__purple
__circle
__triangle
__square
__free
__not-free
And then the controller (?) would receive those checkbox values,
concatenate them together, and stick them in the database. Doesn''t
sound too terribly difficult. But... I can''t get it. I try using the
check_box form helper, setting the variable to "it...