Article Archives

BigCommerce Templates

Dynamic fields inside a form do not get posted

I was struggling today with posting the data from dynamically created form fields via Jquery to a Django view. After some hair pulling (and scratching!) the answer came from moving the form inside of the table to outside of the table. So this works just fine (pseudocode):
<form><table></table></form>
But this will not post the dynamic fields:
<table><form></form></table>
Pretty weird, I am not sure why it happens but that is the way to solve it.

Meta

Published: June 13, 2011

Author: Emilian Felecan

Comments:  

Word Count: 74

Next: Django South : How To Fix The UnknownMigration Exception Error

Previous: Getting Django to work with uWSGI on Cherokee

Bookmark and Share

Tags

None

Comments powered by Disqus