Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: How is it to put a default value in input textarea ?
Kizito
Junior Member

Posts: 5
Registered: 12/15/2003
Member Is Offline
posted on 12/16/2003 at 02:55 PM Reply With Quote
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.
View User's Profile View All Posts By User U2U Member
CFD
Moderator

Posts: 48
Registered: 12/8/2003
Member Is Offline
posted on 12/17/2003 at 01:18 PM Reply With Quote

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
View User's Profile View All Posts By User U2U Member
Kizito
Junior Member

Posts: 5
Registered: 12/15/2003
Member Is Offline
posted on 12/18/2003 at 03:13 PM Reply With Quote
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 !
View User's Profile View All Posts By User U2U Member
CFD
Moderator

Posts: 48
Registered: 12/8/2003
Member Is Offline
posted on 12/19/2003 at 08:44 AM Reply With Quote

<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?
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Free Download Free Download
Product Documentation Documentation
Support Forum Support Forum
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004