Re: Accessing form elements

Thorsten Mueller
Thu, 05 Jun 2008 17:06:20 -0000

Chris Hickman wrote:
> Thorsten Mueller wrote:
>> You could simply use a hidden_field
>
> I could be wrong seeing I am not too familiar with hidden fields but I
> dont think that would help.  I have a list of numbers at the top
> representing different questions.  If the user clicks on "1" I
want to
> pass in the "1" and submit the form, if they click "6"
I want to pass in
> the "6" and submit the form.  From what I understand about hidden
fields
> there is no way to pass the "1" or "6" into the hidden
field, correct?
>
> Chris

nope, that''s a perfect use case for a hidden field.
those numbers should just do some js to set the value of the field