XF 2.3 Input time XF code?

Anatoliy

Well-known member
What is code to add a time input field to a form?

Thanks.

P.S. is there some kind of tutorial about XF form fields, so I would not start a new thread for each form element?
I didn't find much about it in dev docs.
 
And what type of data would it be? varchar? what should I add to setup (installStep)

Code:
$table->addColumn('time', 'varchar', 5)->setDefault('00:00');

?
 
Back
Top Bottom