Default Date or years for datepicker

QuestionsDefault Date or years for datepicker
Gary B asked 7 years ago

Hi there, Im trying to set a date in the future as default for the datepicker but cannot seem to get it to work. So far I have tried:
$col[“editoptions”] = array(“size”=>20, “defaultValue”=>”01-01-2020”); // shows current date only
$col[“formatoptions”] = array(“srcformat”=>’Y-m-d’,”newformat”=>’d-m-y’, “opts” => array(“changeYear” => true, “dateFormat”=>’dd-mm-yy’, “minDate”=>”16-04-23”)); // This shows year in white so cant see it, when selecting a year jumps to another field without inserting anything?

Gary replied 7 years ago

Or perhaps maybe better is it possible to have _ _ /_ _ /_ _ _ _

Your Answer

19 + 13 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?