Is it possible to include multiple date fields? Like if an event happens for multiple days, there should be an "add more" button afterwards like when adding more images, there is always an "add more" images button.
Or if the date is for more than one day, there should be a from to to field .... hmm maybe merge the date fields from cck with webform? Is that possible?
Comments
Comment #1
quicksketchWebform can't use the normal Field module fields. For now if you have a beginning and end date, I would suggest simply making two date fields. You can conditionally show the end date based on a checkbox using the new same-page conditional support in the 7.x-4.x version. That said, it might be good to include this functionality natively, though I can't see a particular value from a data-storage standpoint to having both start and end dates in a single field instead of two separate ones.
Comment #2
goldlilys commentedNot a start and end date. For example,
Event A happens on July 15, July 24, August 19, September 5.
Event B happens on July 12, October 2
The webform should have multiple date fields with add more instead of creating a new "date" field thing each time for User interface sake.
Like the one filling out the form can choose which of those dates they'll attend the event.
Hmm, another scenario:
The one filling out the form may want to schedule a meeting for July 5, July 9, August 10 or only July 1 and July 8. Which means, us (the developer) won't know exactly how many dates the filler wants to meet. But we cannot keep adding new date fields because we don't know how many dates the filler wants. So won't the filler need "add more" date fields button? Like have an option that says whether the date is multiple or just one inside the webform date field settings.
I'm trying to make the UI simpler. If that is possible?
Comment #3
P3t3r commentedDate fields = user freely selecting a date, right? What you describe is simple: just write the multiple dates in checkboxes. Unless I am misunderstanding your concern...
Comment #4
goldlilys commentedMade edits to the previous submission. The 2nd scenario is more of what I want to happen.
Comment #5
P3t3r commentedThen can't you just create a large checkbox list of July 1, July 2, July 3, ..., August 30, August 31 (or whatever your range is) and let them select the dates? That's how the world's largest scheduling website (doodle.com) does it, and that's also what I would find most user-friendly if I had to fill in my dates on your website. Just a suggestion.
Comment #6
quicksketchWebform doesn't have the architecture to support multiple field support for more advanced elements (such as dates). Perhaps http://drupal.org/project/webform_addmore would be adequate for you, which emulates add another behavior by utilizing multiple fields.
Comment #7
goldlilys commentedOooh thanks quicksketch, that looks interesting. Didn't know that existed. Thanks a lot.
Comment #8
goldlilys commentedComment #9
pjbarry21 commentedI know this is closed, but just wanted to add my voice to this type of request (multiple date fields option) and for a start/end date range. We're using a form to ask people when they implemented a project and how long they worked on it (not when the form was done or using form data to find something by date). It could be over a range of days, one day or on totally distinct days over a several month period. The add more option will work for multiple, separate days and I can just put in a "how many days" field to indicate a range, but it would be much cleaner if there were just one date field where they could do all of this. I'm sure it's a hassle, but I've seen a bunch of responses that give alternate options (that don't work quite as well/cleanly) and many responses (in other issues) asking why this feature is needed. I thought I'd share why the option would be nice to have for our particular needs.
Comment #9.0
pjbarry21 commentedbetter explanation