I added a Date field to my Webform, but I'm not seeing the ability to add an End Date. It's not a requirement for me, but I'm surprised it's not available. Or I can't see it, if it is available.

In my form, I want people to choose a date for their Event, and if it's over several days, choose a date range.

Comments

quicksketch’s picture

Webform doesn't add such functionality, though you can simply make two date fields.

minneapolisdan’s picture

Ok, that's fine. thank you.

quicksketch’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

hgurol’s picture

Category: support » feature
Status: Closed (fixed) » Active

Can we have this start/end date as a feature request?

quicksketch’s picture

@hgurol: I've already said I won't add a start/end date for allowing submissions during a time frame, though you can install http://drupal.org/project/webform_limit_submissions for that feature.

I can't see why start/end dates would be useful enough to make modifications to our date component. Just add two fields.

hgurol’s picture

Start/End date is not for allowing the submissions. Its part of the data that Im trying to collect.

I have already added two fields for this but now you can post end dates earlier than the start date since there is no control.

I dont know if "webform_limit_submissions" is the solution for this case or not but it doesnt have a D7 version yet; not even a dev release.

vernond’s picture

@hgurol - consider making use of the custom validation hooks enabled by Webform Validation as Webform itself does not support validating that the date selected in componentB is later than the date in componentA.

hgurol’s picture

Alright, I will give it a try...

Thanks

quicksketch’s picture

Status: Active » Closed (won't fix)

Webform Validation doesn't support this functionality yet either, but as we're not going to be adding it to Webform any time soon (if at all), this issue should be used for further discussion: #1276218: Support for date validations (i.e. to create "to" and "from" fields)