Kizito
Junior Member
Posts: 5
Registered: 12/15/2003
Member Is Offline
|
| posted on 12/16/2003 at 02:55 PM |
|
|
How is it to put a default value in input textarea ?
The calendar is working well, my issue is to put a default value in the input textarea of my form so that user can directly know the date format
allowed. When I put a default value (dd/mm/yyyy) in the input textarea, invoking the calendar raise an error saying: Invalid month day :
'dd' Allowed values are unsigned integers ! Do you know how to fix this ?
Thanks 4 your help.
|
|
|
CFD
Moderator
Posts: 48
Registered: 12/8/2003
Member Is Offline
|
| posted on 12/17/2003 at 01:18 PM |
|
|
By default calendar demo version desn't support dd/mm/yyyy format. Available formats are only dd-mm-yyyy and mm/dd/yyyy. And if you set default
values for these formats everything works well. Problem concerning format change has already been discussed in our forum.
http://www.softcomplex.com/forum/viewthread.php?tid=430
|
|
|
Kizito
Junior Member
Posts: 5
Registered: 12/15/2003
Member Is Offline
|
| posted on 12/18/2003 at 03:13 PM |
|
|
How ?!!
| Quote: | Originally posted by CFD
By default calendar demo version desn't support dd/mm/yyyy format. Available formats are only dd-mm-yyyy and mm/dd/yyyy. And if you set default
values for these formats everything works well. Problem concerning format change has already been discussed in our forum.
http://www.softcomplex.com/forum/viewthread.php?tid=430
|
I already get the modification to be done, in my last message the default value I was talking about was the characters dd/mm/yyyy to put in the date
textfield by default before the user click on the calendar icon. In your original Demo code the field is blank... How is it to do this ?!!
Regards !
|
|
|
CFD
Moderator
Posts: 48
Registered: 12/8/2003
Member Is Offline
|
| posted on 12/19/2003 at 08:44 AM |
|
|
<td bgcolor="#ffffff">
Select Date (w. year scrl.):<br>
<input type="Text" name="input5" value="12/12/2003">
<a href="javascript:cal5.popup();"><img src="img/cal.gif" width="16" height="16"
border="0" alt="Click Here to Pick up the date"></a><br>
Select Date (w/o year scrl.):<br>
<input type="Text" name="input6" value=""12/12/2003"">
<a href="javascript:cal6.popup();"><img src="img/cal.gif" width="16" height="16"
border="0" alt="Click Here to Pick up the date"></a><br>
Select Timestamp (w. year scrl.):<br>
<input type="Text" name="input7" value=""12/12/2003"">
<a href="javascript:cal7.popup();"><img src="img/cal.gif" width="16" height="16"
border="0" alt="Click Here to Pick up the date"></a><br>
Select Timestamp (w/o year scrl.):<br>
<input type="Text" name="input8" value=""12/12/2003"">
<a href="javascript:cal8.popup();"><img src="img/cal.gif" width="16" height="16"
border="0" alt="Click Here to Pick up the date"></a><br>
</td>
That work fine. Do you have problem with this code?
|
|
|