Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
282 views
in Q2A Core by

Hi all, i want to create my own custom date field on the question screen. I've discovered i will need to edit the qa-page-ask.php file to include my field:

 

'My Date' => array(
'label' => qa_lang_html('question/q_mydate_label'),
'tags' => 'NAME="Date" ID="Date" AUTOCOMPLETE="off"',
),

Does anyone konw how to format it so its a date type field?

 

Thanks

1 Answer

0 votes
by
I'm afraid there's no easy way to do this, since Q2A doesn't yet have support for date fields. You could use an advanced theme to implement one, but it would require a fair amount of PHP programming.
...