Add params before submit form ROR
- by Jorge Najera T
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)