OK, hopefully somebody can help me out again.
My next problem is updating 3 form fields (type list/menu option) that correspond to a date, one for month, one for day and one for year when the user selects a date for a javascript calendar solution.
Introduction
The reason I don’t want to use a text field, is because the website I’m developing is in Spanish and as you probably know, the Spanish format for the dates is dd/mm/yy, but I just want to be sure that when a date is selected there is no confusion on either format. There are dates that can be confusing, when the day is smaller than 12 and the month is smaller than 12 there is no really a way to determine the format.
The Problem
I have an interactive calendar solution that I found for free on the internet that returns a date to a text field format. I would like to modify and update/change the 3 fields on the form automatically. If the selected date is 25/12/07 (dd/mm/yy) then the day should be 12, month shoudl be Dec and year should be 2007. How do I update the 3 pre-defined fields ?
Any suggestions ?
You can view the form directly online at:
[CODE = html]
http://www.ViajeroFrecuente.net/Compra.html
[/code]
I haven’t implemented the calendar solution yet; I’m working on it
Thanks in advance for any suggestions or guideline
Eye