Edgewall Software

Opened 13 years ago

Last modified 8 years ago

#462 new defect

HTML5 Input Types Not Supported

Reported by: hoodedperson70@… Owned by: cmlenz
Priority: major Milestone: 0.9
Component: General Version: 0.6
Keywords: forms, html, genshi Cc: erik.swanson@…

Description

When I use <input type="email" />, the HTMLFormFiller does not fill it in. (for example)

Attachments (1)

HTMLFormFiller-email-tel.patch (726 bytes) - added by erik.swanson@… 13 years ago.
Make HTMLFormFiller handle 'email' and 'tel' inputs.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 13 years ago by anonymous

That's great, never even look into this...even if this has been fixed somewhere else, a mention would be great...

comment:2 follow-up: Changed 13 years ago by Louise

To think, I was conufesd a minute ago.

comment:3 in reply to: ↑ 2 Changed 13 years ago by anonymous

Replying to Louise:

To think, I was conufesd a minute ago.

how were you confused? the description is pretty clear...

Changed 13 years ago by erik.swanson@…

Make HTMLFormFiller handle 'email' and 'tel' inputs.

comment:4 Changed 13 years ago by Erik Swanson <erik.swanson@…>

  • Cc erik.swanson@… added

comment:5 Changed 13 years ago by hoodedperson70@…

Thank you! I hate to ask for it, but what about the other "type" attributes for an HTML input now? Like at: http://www.w3schools.com/html5/tag_input.asp

I don't expect Genshi to validate or anything before allowing values to be set, but I would just hope that these input types (since it's possible people use them for HTML5) are usable with Genshi. I'm pretty sure they could all be used in conjunction with type="text" and the patch provided. Thanks!

comment:6 Changed 13 years ago by Erik Swanson <erik.swanson@…>

If they don't require any special handling at all (are completely text-like), go ahead and try adding them in the tuple where I added 'email' and 'tel'.

My patch adds only the ones I'm using because I haven't had the time to research how browsers and js validation libraries might react to invalid values in the html.

comment:7 Changed 8 years ago by hodgestar

  • Milestone changed from 0.7 to 0.9

Moved to milestone 0.9.

Note: See TracTickets for help on using tickets.