Project

General

Profile

Actions

Bug #22093

open

non unique form input ids in user form

Added by Ohad Levy over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Found 5 elements with non-unique id #: (More info: https://goo.gl/9p2vKq)
<input multiple="multiple" value="8" id type="hidden" name="user[role_ids][]">
<input multiple="multiple" value="3" id type="hidden" name="user[location_ids][]">
<input multiple="multiple" value="1" id type="hidden" name="user[organization_ids][]">
<input multiple="multiple" value="8" id type="hidden" name="user[organization_ids][]">
<input multiple="multiple" value="9" id type="hidden" name="user[organization_ids][]">

Found 3 elements with non-unique id #fakepassword: (More info: https://goo.gl/9p2vKq)
<input type="password" name="fakepassword" id="fakepassword" style="display: none" autocomplete="new-password-fake">
<input type="password" name="fakepassword" id="fakepassword" style="display: none" autocomplete="new-password-fake">
<input type="password" name="fakepassword" id="fakepassword" style="display: none" autocomplete="new-password-fake">

Multiple forms should be contained in their own form elements; break up complex forms into ones that represent a single action: (More info: https://goo.gl/9p2vKq)
<form class="form-horizontal well" id="edit_user_1" action="/users/1-admin" accept-charset="UTF-8" method="post">…</form>

No data to display

Actions

Also available in: Atom PDF