How to use data obtained from a form in Django form?
You could use AJAX and javascript to achieve this, but I suggest doing this only via javascript. This means you will have to rewrite the math in JS and output it directly in the element.
Please let me know if you need any help :)
Jasper
I'm trying to create a form in Django using Django form. 
I need two types of forms.

A form that collect data from user, do some calculations and show the results to user without saving the data to database. I want to show the result to user once he/she press button (calculate) next to it not in different page. 
A form that collect data from user, look for it in a column in google sheet, and if it's unique, add it to the column otherwise inform the user a warning that the data is not unique.

Thanks