passing form input value to a stored procedure as a parameter

Basically I have created a Django app that executes a MSSQL stored procedure and displays the results. I have added a html form with text input which when clicked loads another page however I am struggling to figure out how I can pass that input value to the same stored procedure as a parameter and display the results.

Any help/tips/tutorials would be appreciated.

Can you post the view you’re using that is calling the stored proc? It might be easier to explain this in the context of your actual usage.
(Might also be helpful to see the important parts of your form that is submitting to this view.)