Re: Accessing form elements

Chris Hickman
Thu, 05 Jun 2008 16:38:10 -0000

Roy Pardee wrote:
 or b) have the same effect as the submit button *plus*
> tack an extra parameter & value onto :params?  (Or c) something else?)
>
 If b) it''s probably a little more
> involved (javascript stuffs your parameter in a hidden field created in
> your form maybe, and *then* does a my_form.submit()?).


Exactly, I need to pass another parameter and that is where I am stuck
right now.  The only option I can think of is to use some ajax and have
it pass a parm in when someone clicks the link and have it return
nothing and then have that same click call form.submit() afterwards.  I
am about to try this now but it seems like 1) it will be really slow and
2) it might not work.  We will see.

I just dont know a way to pass the extra param as well as submitting the
form.


Thanks a lot,

Chris