Can I pass a variable from a submit button only? I have a form that the
user fills out and I need two different submit buttons - one for ‘sync’
and one for ‘full push’. I was thinking I could add some sort of param
to the button, but it’s not working… is there a way to do this? I have
<%= submit_tag ‘push to Exchange’, :name => “rad”, :id => “0”, :onclick
=> “doClick(this)” %>
<%= submit_tag ‘force full push’, :name => “radtwo”, :full => “full”,
:onclick => “doClick(this)” %>
I tried to add param[:full], but it doesn’t work. Any suggestions?
- Jeff M.