'How to pass data of all input fields from one page to another using button in python django
I have a form on index.html and I want to pass data of all input fields of index.html to demo.html by using a button. Here is my code """
{% csrf_token %}<input type="text" id="xaxis" name="xaxis"><br><br>
<input type="text" id="yaxis" name="yaxis"><br><br>
<button type="submit"> SUBMIT </button>
<button type="submit" name="saveChart" form="axisForm" value="save"> SAVE </button>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|