Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is is currently possible to set the default text to be a string like: mm/dd/yyyy. I would like to use the default as a suggestive format then clear it out with jquery on focus.
Comment | File | Size | Author |
---|---|---|---|
#1 | date_popup.patch | 1.36 KB | monish_deb |
Comments
Comment #1
monish_deb CreditAttribution: monish_deb commentedFor instance check my patch where I have provide a default string which is current date (selected default format) for widget type "Text field with Date Popup Calender" and clears out on focus. If you agree with this format then I can provide such functionality for all field and widget type in my next patch.
Comment #2
DamienMcKennaThanks for the patch, we'll try to review it soon.
BTW when you upload a patch it helps to set the status to "needs review", that triggers the testbots and lets others know that there's something review.