Hi,

I am sure there must be a simple answer to this but I can't see to find it..

I am trying to create a booking system that will only ever have events that start and end on the same date.. They will often be repeated but will never roll overnight.. Entering an end "date" seems redundant for the users because they have just entered the date already..

Is there an easy way to hide the "end date" fields so the user simply enters date, start time, end time and any repeat criteria?

Thanks..

Comments

arlinsandbulte’s picture

You might be able to just hide the To Date part with some css or hook_form_alter, but I have not tried it.

If no date is entered for the To Date, it should just use the same date as the from date.

calefilm’s picture

This is my precise problem as a result of Date Single Day module not porting to D7. Maintainer has no desire to port it: http://drupal.org/node/1130490

The problem is I don't want users to select a To Date..... however, I would like them to select a To Time... (using FullCalendar so need the Event Date to display between 5AM - 9AM on Monday only).

wipeout_dude’s picture

Hmmm.. That's unfortunate.. A single day date input form would be very useful in any number of applications.. Having to enter the same date twice is pretty "clunky".. Times like this I wish I could code.. :)

calefilm’s picture

Did any commenter above ever resolve this issue somehow?

MrPeanut’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Date single day (now with 7.x!) does accomplish this outside of the Date module.