Forums

datetimepicker hide?

qwarx 02 Oct, 2013
hello,
I have a question concerning the datetimepicker
is it possible to make it invisible?
I need for my analysis in a form that a date should not be changed by the user.

thank you
cu
Andy
GreyHead 03 Oct, 2013
Hi Andy,

Then why would you add a datetime picker? Instead you can show the date in a readonly or disabled Text Box input - or just as a text string.

Bob
qwarx 03 Oct, 2013
The problem is, I do not know how :-(
I need this format
31.12.2013 16:15

because, columns in my excel export to another must fit the format generated over the datytimepicker
GreyHead 04 Oct, 2013
Hi qwarx,

Sorry, you've lost me - I now have no idea what your question is?

Bob
qwarx 04 Oct, 2013
so problem solved

u give me the right hit
a "formated textbox" with {uebertragungsdatum}

and a custom code with
 <?php
  $form->data['uebertragungsdatum'] = date('d.m.Y H:i');
?>


big thanks
This topic is locked and no more replies can be posted.