How do I post into database the input form form fields

17 views
Skip to first unread message

x_marine

unread,
May 14, 2014, 4:25:09 AM5/14/14
to django...@googlegroups.com
Hi, 

I have been working on a project that works with prefilled form fields in html. 

I wonder how this can integrated into Django Models and posted into the database via view validation.

The value I get from javascritpt computation whic works well.  

My form is like this this.

<form  name="myForm" action="#" method="post">

Price: <input    type="text" id="demo9"  value="3212t" ><br>
Cost:  <input    type="text" id="demo5" value="675" ><br>
Margins:  <input    type="text" id="demo6" value="453" >

<input type="submit" value="Submit">

</form>

G Z

unread,
May 14, 2014, 7:06:03 PM5/14/14
to django...@googlegroups.com
https://www.youtube.com/watch?v=f0uZqPNijCw

but im having issues displaying form..
Reply all
Reply to author
Forward
0 new messages