This is probubly simple but thanks for any help. My client wants text feilds as they find date drop downs to tedious for his form. As a result i have formatted the field to display the date as he requested mmm / d. Regardless of how the user enters the date it is displayed as the client wants it.
The problem I am facing is that when I call the data for calculations it send the information in the format it was entered rather then displayed.
For example a user could enter
1-1 and it would show [Jan / 1] in the field but return a value of (1-1) string with this.getField. User could enter in jan 01, jan 1, jan - 1, 1 01, 01-01,ect. and it would all read correctly in the formatted text field.
I have wrote a simple script to convert months into days but it will not work unless the information is returned the same way it is displayed. Is there a simpler way to convert a date text field into a [Day of the Year] variable regardless of how the data was entered. (without drop downs).
Please and thank you for any help.