Announcement Announcement Module
Collapse
No announcement yet.
Split Date field into two input's for date/time Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Split Date field into two input's for date/time

    Is there a way to split a field (Date) into two input boxes? Here is my JSP code:

    Code:
    <form:input class="datepick" path="clientTaskListDto[${status.index}].clientTask.dueDate" size="10" maxlength="10"  />
    <form:input class="timepick" path="clientTaskListDto[${status.index}].clientTask.dueDate" size="10" maxlength="10"  />
    I originally had a CustomDateEditor to display the date as "MM/dd/yy" but then we were requested to include a box for the time as well. I am trying to see if there is a quick (and probably dirty) solution to be able to add both date/time in different fields at once. Or, if I will have to populate two separate fields and then merge them before persisting.

    Any help would be greatly appreciated.
    Thanks!
Working...
X