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: dd-mm-yyyy
Dynamo
Junior Member

Posts: 2
Registered: 1/27/2006
Member Is Offline
posted on 1/27/2006 at 02:59 PM Reply With Quote
dd-mm-yyyy


Hi,

I have a problem. I use tigra free version and if user wants to write instead using calendar, correct dd-mm-yyyy format this javascript validation don't work.

If user write for example dd-m-yyyy text field javascript pass it throw my database. So for example: if user write 12-6-2006 it goes to database -0006? When one zero is on month is missing code breaks down? Please help.
View User's Profile View All Posts By User U2U Member
jkarr
Newbie

Posts: 1
Registered: 2/22/2006
Member Is Offline
posted on 2/22/2006 at 12:53 AM Reply With Quote

You can disable the text input like so:

<input name=date id=date disabled>

This would force the user to use the calender and the validation would be rendered useless.
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