As illustrated in the two attached screen shots, the date popup which appears on pages created using the Webform module differs from what you get with the Date/Calendar modules.

I assume this is intentional (I found the maintainer's comment in another ticket saying he would never use the interface in which the date is displayed in a single text box, as opposed to the approach of storing the date components in separate dropdown lists, though he didn't say why, at least in that comment).

Is that assumption correct?

If so, could other users tell me how they have dealt with this discrepancy? We've got a defect report against our own software from the users who don't like the fact that the widgets for the date fields are inconsistent across the site, and I'd be very grateful for any suggestions others may have about how to make one or the other of the modules use the same UI.

Thanks!

CommentFileSizeAuthor
hotel-request-date-field.png10.21 KBbkline
date-popup.png7.21 KBbkline
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DanChadwick’s picture

Please list the other issue that you referred to in the related issues and refer to the comment number in a new comment. That way we can see how this issue and the other relate.

bkline’s picture

Sure. It was the original ticket for adding popups to the date fields. I was referring to comment #58:

I want the date picker to work exactly the same way Webform works currently, only put a little popup calendar next to it. I don't want to have a textfield, ever.

DanChadwick’s picture

@bkline: Please update the issue with a related issue reference. I don't know which issue has comment #58.

bkline’s picture

Hmm. I pasted the URL into the Related field, thinking it would be saved when I clicked the Save button, but apparently this form is trickier than that, and I think what it wanted me to do was wait until some Ajax found a match in the database and then pick the string it really wanted to use in the field (instead of my URL). In case I'm wrong, and it doesn't take this time either, here's the URL in the comment:

https://www.drupal.org/node/71131

DanChadwick’s picture

Status: Active » Closed (works as designed)

Yes, I see now. I don't see this issue being addressed. If you have a patch which adds the ability to use a single text field (which quicksketch didn't want) as an option, I think it might be acceptable.

The alternative would be to write a date widget that has three fields like webform.

I'm closing this issue, but feel free to re-open if you have a patch or other information.

DanChadwick’s picture

Category: Support request » Feature request
bkline’s picture

Thanks, Dan. What I was hoping for most was feedback from the rest of the user community as to how others are dealing with the discrepancies. (Do their users complain about them? Ignore them? Do other developers have their own workarounds? Or do they just suck it up and live with the problem? That sort of thing.) Is there a better forum for looking for this kind of feedback?

As for my own user base, after further discussion with them it's clear they don't want us to make the rest of the date fields on the site look like the ones on the Webform pages: they strongly prefer the cleaner appearance of the single box for the date value. So their options are (1) just live with it; (2) pay us to rewrite the parts of the system that use the Webform module to drop that module; or (3) pay us to patch the Webform module to incorporate an option to have Webform date fields look like those in the rest of Drupal. If they settle on the third option, I'll take you up on your offer to take a patch.

Thanks again.