I have downloaded and initialized the Jason's Date Input Calendar (http://www.dynamicdrive.com/dynamici...oncalendar.htm) but I need to use something like this in the html code:
The problem is that when I declare those calendars the script confuses and when I submit the form it submits the DefaultDate, that I have initialized each calendar with. And I need to change those dates but it is not possibleHTML Code:<script>DateInput('EstimatedDate', true, 'MM/DD/YYYY', '10/12/2005')</script> <script>DateInput('EstimatedDate', true, 'MM/DD/YYYY', '11/11/2005')</script> <script>DateInput('EstimatedDate', true, 'MM/DD/YYYY', '09/08/2005')</script>I suppose that this is happening because the script uses only the name of the hidden field to enter the value of the calendar. Is it possible to change calendarDateInput.js so that it uses ids of the hidden fields, not only names and this ids to be the difference between the fields with the same name ... The problem is that I am not so familiar with JavaScript and cannot do it myself. I hope that this could be fixed, because I need that script. If someone gets to another way of doing it, than submitting a collection (the number of those fields is not known!) - I am open for ideas
Best Regards.



I suppose that this is happening because the script uses only the name of the hidden field to enter the value of the calendar. Is it possible to change calendarDateInput.js so that it uses ids of the hidden fields, not only names and this ids to be the difference between the fields with the same name ... The problem is that I am not so familiar with JavaScript and cannot do it myself. I hope that this could be fixed, because I need that script. If someone gets to another way of doing it, than submitting a collection (the number of those fields is not known!) - I am open for ideas 
Reply With Quote
Bookmarks