Bug 77454

Summary: Add support for custom messages on form field error's validation
Product: WebKit Reporter: Daniel Filho <daniel.filho>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Enhancement CC: ap, shezbaig.wk, simon.fraser, tkent, wenson_hsieh
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

Daniel Filho
Reported 2012-01-31 10:58:55 PST
Just as Mozilla did on Firefox, it would be great if we could customize the error message given to the user, as it tries to submit a form. Currently, a default message is shown, but I'd like to choose what to tell the user (i.e. in my language). Mozilla has the x-moz-errormessage, and can be checked out here: https://developer.mozilla.org/en/HTML/Element/Input#attr-x-moz-errormessage This is my first time here, so, I'm sorry if I did something wrong or some lack of info. Daniel
Attachments
Patch (5.89 KB, patch)
2012-03-07 13:48 PST, Shezan Baig
no flags
Shezan Baig
Comment 1 2012-03-07 13:48:38 PST
Kent Tamura
Comment 2 2012-03-07 16:23:43 PST
(In reply to comment #1) > Created an attachment (id=130689) [details] > Patch You have to announce this to webkit-dev. http://www.webkit.org/coding/adding-features.html I guess some objections will be made because this feature is not standardized at all.
Shezan Baig
Comment 3 2012-03-07 19:07:20 PST
Comment on attachment 130689 [details] Patch Hmm on second thought, I think i'll just withdraw this patch for now. This was my first patch attempt for webkit and I wanted to try something simple to get started, but I'd rather not checkin something non-standard :)
Note You need to log in before you can comment on or make changes to this bug.