Hello all, this is closely related to a question I posted yesterday regarding checkboxes.
Here is my setup:
-I have a database directory, with a list of names, among other fields, as my model.
-I have a search page where users can search this directory and select a name.
-I have a form page that displays the name with a checkbox next to it which allows the user to decide if they want to include the name as a value in the submitted form.
-A controller that handles the submitted form.
Goal:
-What I would like to know is how can I get the string value of the name that was selected in the directory to both display in the form page View and also include this string in the value field of the checkbox??