search for: answer_value

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

2006 May 24
0
Creating multiple child objects in a form
...and it has many answers. I would like to create a form that allows me to create a new Response object that has 5 Answer objects. Can I do this using the form_for FormBuilder? I assume what I want to generate is something like this: <input type="text" name="response[answer][0][answer_value]"/> <input type="text" name="response[answer][1][answer_value]"/> <input type="text" name="response[answer][2][answer_value]"/> <input type="text" name="response[answer][3][answer_value]"/> <input type="te...
2006 Jun 12
4
Some help with fun SQL stuff...
I have one table that stores data related to math problems, and another table that stores users'' answers to those problems. To make this very simple, we''ll say that the math table has two numbers that get subtracted, and the answers table has a field that can either be "pos" or "neg" math _____ 2 5 8 3 Okay so if we do the math, we know that the