Issue 332 in iui: Support standard form submit inputs input[type="submit"] everywhere and deprecate use of <a> tags a[type="submit"]

1 view
Skip to first unread message

i...@googlecode.com

unread,
Apr 11, 2012, 7:55:47 PM4/11/12
to iui-i...@googlegroups.com
Status: Accepted
Owner: msgilli...@gmail.com
Labels: Milestone-REL-0.40

New issue 332 by msgilli...@gmail.com: Support standard form submit inputs
input[type="submit"] everywhere and deprecate use of <a> tags
a[type="submit"]
http://code.google.com/p/iui/issues/detail?id=332

iUI has from the beginning used the following link to trigger an ajax form
submission:
<a class="whiteButton" type="submit">Submit (a)</a>

This is non-standard HTML and has been the source of many compatibility
problems.

iUI should use a standard HTML <input> tag instead:

<input class="whiteButton" type="submit" name="submitInput"
value="Submit" />

iui.js and iui.css should be changed to support using the <input> tag in
every case where the <a> tag has previously been used and should officially
deprecate use of the <a type="submit"> tag. This means the documentation
needs to be updated, too.

i...@googlecode.com

unread,
Apr 12, 2012, 3:22:33 AM4/12/12
to iui-i...@googlegroups.com

Comment #1 on issue 332 by msgilli...@gmail.com: Support standard form
submit inputs input[type="submit"] everywhere and deprecate use of <a> tags
a[type="submit"]
http://code.google.com/p/iui/issues/detail?id=332

Issue #117 points out that we are using the 'type' attribute on <a> tags
incorrectly. To close #117, we'll have to get rid of type="cancel", too.


i...@googlecode.com

unread,
Apr 12, 2012, 3:30:07 AM4/12/12
to iui-i...@googlegroups.com

Comment #2 on issue 332 by msgilli...@gmail.com: Support standard form
submit inputs input[type="submit"] everywhere and deprecate use of <a> tags
a[type="submit"]
http://code.google.com/p/iui/issues/detail?id=332

The changes on this branch address the issue:
http://code.google.com/r/msgilligan-iui-dev/source/list?name=msgilligan-form-submit-issue332

Those changes can be tested using the form-test.html test page an updated
version of which is here:
http://stage.iui-js.org/test/form-test.html


i...@googlecode.com

unread,
Apr 12, 2012, 3:31:47 AM4/12/12
to iui-i...@googlegroups.com

Comment #3 on issue 332 by msgilli...@gmail.com: Support standard form
submit inputs input[type="submit"] everywhere and deprecate use of <a> tags
a[type="submit"]
http://code.google.com/p/iui/issues/detail?id=332

The changes on the msgilligan-formn-submnit-issue332 branch also seem to
provide a 'final' fix for Issue #208.


i...@googlecode.com

unread,
May 29, 2013, 6:12:15 AM5/29/13
to iui-i...@googlegroups.com

Comment #4 on issue 332 by gau...@spcits.com: Support standard form submit
inputs input[type="submit"] everywhere and deprecate use of <a> tags
a[type="submit"]
http://code.google.com/p/iui/issues/detail?id=332

iUI is collection of bugs

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages