I am looking to create a link that directs to a new page in the following format:
/topic/create&qty=4
Currently, I have the value (which is the number 4) stored in an input field within a form. Initially, I attempted to include everything in the form using POST method but realized this is not the desired approach. I simply want a button click to navigate to a new page and pass the value from the input field. The reason for preferring just a link is that future posts from the form will be handled differently.
Is there a way to achieve this? I understand that
<form action="/adminTopics" method="post">
is not the solution I am seeking.