Passing Data in Fresh
As a context, I'm currently making a quiz-like page.
I have a page that GET a quiz_id when opened.
In the page I fill some inputs as the answer.
After that, I want to submit the answer, along with quiz_id to get the solution from other table.
Since Fresh uses <form> to send data, then how to send the quiz_id?
Should I just make a hidden input?
I have a page that GET a quiz_id when opened.
In the page I fill some inputs as the answer.
After that, I want to submit the answer, along with quiz_id to get the solution from other table.
Since Fresh uses <form> to send data, then how to send the quiz_id?
Should I just make a hidden input?
