CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

datepicker enhancement

Suggest new components/features

by seanwebb » 30 Sep 2012 08:38

The only safe way (WRT having dumb users) to use this control is with jqoption.displayinline=true

If for example the format is mm/dd/yyyy and a not so bright user types in
05312012 rather than using the calender popup (their right/choice) and then goes to the next control , the text stays.
once the user hits a submit component the text gets blanked and the datepicker.date=0 (30/12/1899)

From a UI perspective
1) there is nothing telling the user the actual date format to enter.
2) the user doesn't know if its dd/mm or mm/dd , so might type on 31/05/2012 or 05/31/2012
the first will yield a correct date, the second =0

The date field needs some form of verification inbuilt.
The only safe way (WRT having dumb users) to use this control is with jqoption.displayinline=true
seanwebb
 
Posts: 50
Joined: 22 May 2012 11:12

by Jorge Sousa » 30 Sep 2012 16:04

Hi Sean

We don't understand what you mean

1) there is nothing telling the user the actual date format to enter.


is JQDatePickerOptions.DateFormat or JQDatePickerOptions.Regional property

JQDatePickerOptions.DateFormat should have the same format as Delphi's FormatDateTime function


2) the user doesn't know if its dd/mm or mm/dd , so might type on 31/05/2012 or 05/31/2012
the first will yield a correct date, the second =0


The user should know what is the date format working for the site.

The date field needs some form of verification inbuilt.


Well this not a plugin capability, but we suppose we could try to add it using masks.

Best Regards

cgdevtools
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58


Return to Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.