[Bug 27895] New: <input disabledifunchanged>

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27895

            Bug ID: 27895
           Summary: <input disabledifunchanged>
           Product: HTML WG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: HTML5 spec
          Assignee: dave.null@w3.org
          Reporter: netmosfera@gmail.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-admin@w3.org,
                    public-html-wg-issue-tracking@w3.org

Just a random idea. It would be nice to have an attribute for form elements
that would prevent their data from being sent by the form when they are left
unchanged.

<form method="post" action="./save">
<textarea name="article" disabledifunchanged>foo</textarea>
<button>Save</button>
</form>

if textarea.value === textarea.defaultValue is true, no "&article=" get/post
variable will be sent by the form.

this is especially useful for data-tables containing lot of form inputs which
unlikely will be all modified. so why not submitting only those that were
actually changed? improves also bandwidth usage, simplifies the work of
server-side form handlers and reduces the risk of errors since less work must
be handled and performed.

hope you like the idea

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 26 January 2015 10:46:00 UTC