andres prenza
Posts: 0
Joined: Fri Jun 07, 2013 12:21 pm

datepicker minimum date?

how do i set the date picker to not accept any dates prior to the current date?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

datepicker minimum date?

Hello! You can set Min Date in builder.

andres prenza
Posts: 0
Joined: Fri Jun 07, 2013 12:21 pm

datepicker minimum date?

Yeah i saw that but i want it to always be the current date. i do not want to set today's date and then come tomorrow they can still choose today's date . get me
?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

datepicker minimum date?

Hi Andres,

It would be better not to use Datepicker, you can simply display current date in Label. You can use hidden Datepicker for formatting on Page Show event:
codeAppery("mobilelabel_9").text( $.datepicker.formatDate("DD, d MM, yy", new Date()) );/code

andres prenza
Posts: 0
Joined: Fri Jun 07, 2013 12:21 pm

datepicker minimum date?

I followed your post

Appery("Datelblinput").text( $.datepicker.formatDate("DD, d MM, yy", new Date()) );

and i run it and the label remains blank.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

datepicker minimum date?

Are there any errors in console?
Is there a Datepicker on screen?
Do you use Label component?

andres prenza
Posts: 0
Joined: Fri Jun 07, 2013 12:21 pm

datepicker minimum date?

i put a label as you indicated. no datepicker present. i removed it. i should have one present?
but invisible?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

datepicker minimum date?

Yes, you need an invisible datepicker. It is needed to format output. If you want you can write your own code to format date string as you need.

andres prenza
Posts: 0
Joined: Fri Jun 07, 2013 12:21 pm

datepicker minimum date?

THANK YOU!

She
Posts: 0
Joined: Wed Oct 08, 2014 12:46 am

datepicker minimum date?

hi ms. kateryna,

what if i want to display automatic date in label, everytime i change the date in datepicker? how is it?

Return to “Issues”