Postponed (maintainer needs more info)
Project:
Drupal core
Version:
main
Component:
forms system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
23 Mar 2012 at 17:54 UTC
Updated:
25 Sep 2025 at 23:47 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
hansyg commentedtaggin
Comment #2
mgiffordSee #675348-64: META: Support HTML5 form input elements
Comment #3
mgiffordComment #4
vijaycs85Initial patch...
Comment #5
vijaycs85Comment #6
mgiffordNice! I was hoping it might be that easy. Thanks...
Comment #7
mgifford4: 1496686-week-element-3.patch queued for re-testing.
Comment #9
mgiffordreroll
Comment #10
mgiffordComment #11
Jalandhar commentedHere is the rerolled patch.
Comment #12
mgiffordSo to confirm, there are no UI changes with this. It's simply a matter of being able to use a #week form element when building custom forms. We might extend the UI in the future, but there's nothing here to show yet, right?
So to test this we need to simply work to verify the code is good and that we can build form with type
<input type="weak" />.Which is presumably what we also need to do for #1496682: Add new HTML5 FAPI Element : month & #1496652: Add new HTML5 FAPI Element : datetime-local
Would be interesting to have a combined patch for these three issues as they are so related... Not sure if that would help get it into Core though.
Comment #13
vijaycs85here is a reroll of #11.
let's get them in at once, combining in to one patch may need further patch/review/commit credit into account.
Comment #14
mgiffordis it attached?
Comment #15
vijaycs85:) here it is for real...
Comment #16
Jalandhar commentedPatch #15, Needs reroll.
Comment #17
jeroentWorking on this @ DUG Belgium.
Comment #18
jeroentComment #19
thtas commentedComment #20
thtas commentedComment #21
jonathan_hunt commentedw3.org 404'ed, so new link provided.
Comment #22
mgifford@jonathan_hunt I think we should close this issue. I think that the week element has been removed from HTML5 http://stackoverflow.com/questions/21263515/why-is-html5-input-type-date...
Comment #23
jonathan_hunt commented@mgifford The link I offered turns out to be a discontinued document (http://www.w3.org/TR/html-markup/Overview.html). The current editor's draft for HTML5 is at http://drafts.htmlwg.org/html/master/ and includes http://www.w3.org/html/wg/drafts/html/master/semantics.html#week-state-(type=week) so the issue is still valid.
Comment #24
siva_epari commentedComment #25
siva_epari commentedPatch rerolled.
Comment #26
siva_epari commentedComment #28
siva_epari commentedComment #29
siva_epari commentedComment #30
sharique commentedComment #32
siva_epari commentedComment #33
sharique commentedComment #35
sharique commentedComment #37
rpayanmPlease review.
Comment #39
rpayanmUppss wrong patch...
Comment #40
dcam commented#39 still applies. Removing the "Needs reroll" tag in preparation for Drupalcon Los Angeles sprints.
Comment #41
Jalandhar commentedThis needs to be rerolled.
Comment #42
Anonymous (not verified) commentedSince this is a feature request, I don't think we can do this during the beta evalutaion. So postponing for 8.1.x.
Comment #58
smustgrave commentedThank you for sharing your idea for improving Drupal.
We are working to decide if this proposal meets the Criteria for evaluating proposed changes. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or there is no community support. Your thoughts on this will allow a decision to be made.
Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.
Thanks!
Comment #59
smustgrave commentedWanted to bump 1 more time.