Jake B. Well-known member Dec 13, 2017 #2 I remember @Chris D had mentioned on the xf2demo back during the DP releases that they would consider exposing more of the time picker API, but if that hasn't happened then I don't think so
I remember @Chris D had mentioned on the xf2demo back during the DP releases that they would consider exposing more of the time picker API, but if that hasn't happened then I don't think so
AndyB Well-known member Dec 14, 2017 #3 You can use the xf:dateinputrow in your template like this example: Code: <xf:dateinputrow name="event_date" value="" label="{{ phrase('rsvp_event_date') }}" explain="{{ phrase('rsvp_required') }}" />
You can use the xf:dateinputrow in your template like this example: Code: <xf:dateinputrow name="event_date" value="" label="{{ phrase('rsvp_event_date') }}" explain="{{ phrase('rsvp_required') }}" />
Chris D XenForo developer Staff member Dec 14, 2017 #4 Which is only for picking a date. If you want to pick a time as well, then HTML5 has a built in time picker. This thread goes into some detail about the template code and validating inputs: https://xenforo.com/community/threads/both-date-and-time-inputs.137891/
Which is only for picking a date. If you want to pick a time as well, then HTML5 has a built in time picker. This thread goes into some detail about the template code and validating inputs: https://xenforo.com/community/threads/both-date-and-time-inputs.137891/