I’m definitely not make myself clear on this one. Sorry about that.
This should shed some light on my problem:
You have two tables:
There’s a predetermined amount of satisfaction comments that we’ve
already entered, however, if the customer wants to write his own comment
in, then when they save the customer record (into customers), I want to
be able to add the custom satisfaction comment into the other table at
the same time. The problem is I guess, I don’t know how to get the value
from the form.
I’m binding the existing statisfaction comments to a list of check_box
helpers, but there’s also a custom text_field, that really isn’t tied to
the model. So when the create method is called, I’m not sure how to get
to the custom value.
Bill W. wrote:
Gonna have to go to JS then.
Maybe I’m misunderstanding what you’re trying to accomplish. If the
of ‘write-in’ items is not pre-set, and you don’t want to make
round trips, then JS is your option for client-side processing. If
only going to give visitors a fixed number of items they can enter
themselves, then you could easily provide them with (a) text field(s) on
same form with the checkboxes and save all when they submit the form.