Re: How do I pull a javascript array into a form submission

2007-09-18 Thread Aidas Bendoraitis
A couple of suggestions: 1. You can put the whole array of dates JSONized into a hidden field, parse it in the webserver and validate it's values. 2. You can create input fields dynamically using JS on the client side and using some dynamic form mechanism on the server side, and also have some f

How do I pull a javascript array into a form submission

2007-09-04 Thread eriku777
I have been tooling around with this wonderful javascript calendar that allows for the selections of multiple dates (with other really cool constraints) and then packs then all into an javascript array that can be walked though. All the Django forms examples I have seen presume a fixed number for