Page 1 of 2

datepicker minimum date?

Posted: Fri Jun 07, 2013 12:21 pm
by andres prenza

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


datepicker minimum date?

Posted: Fri Jun 07, 2013 12:55 pm
by Maryna Brodina

Hello! You can set Min Date in builder.


datepicker minimum date?

Posted: Fri Jun 07, 2013 1:13 pm
by andres prenza

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
?


datepicker minimum date?

Posted: Fri Jun 07, 2013 2:50 pm
by Kateryna Grynko

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


datepicker minimum date?

Posted: Fri Jun 07, 2013 4:12 pm
by andres prenza

I followed your post

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

and i run it and the label remains blank.


datepicker minimum date?

Posted: Fri Jun 07, 2013 4:20 pm
by Kateryna Grynko

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


datepicker minimum date?

Posted: Fri Jun 07, 2013 4:38 pm
by andres prenza

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


datepicker minimum date?

Posted: Fri Jun 07, 2013 4:57 pm
by Kateryna Grynko

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.


datepicker minimum date?

Posted: Fri Jun 07, 2013 5:05 pm
by andres prenza

THANK YOU!


datepicker minimum date?

Posted: Wed Oct 22, 2014 3:39 am
by She

hi ms. kateryna,

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