Add params before submit form ROR
Posted
by
Jorge Najera T
on Stack Overflow
See other posts from Stack Overflow
or by Jorge Najera T
Published on 2012-10-06T18:11:06Z
Indexed on
2012/10/07
15:37 UTC
Read the original article
Hit count: 182
It's possible to add some parameters before submit an form?
My problem is that I need to send the ticket id to my payment controller.
A possibility is to send it through an hidden input field, but there's any other secure way to achieve this?
Any help will be appreciated.
Thanks.
The process of buying a ticket 0) Select the event 1) User select the kind of ticket he wants to buy. 2) User add his personal information 3) Finally the Checkout (payment controller)
© Stack Overflow or respective owner