Opened 8 months ago

#2448 new defect

Console form input improvements

Reported by: zzz Owned by: zzz
Priority: minor Milestone: 0.9.40
Component: apps/console Version: 0.9.38
Keywords: Cc:
Parent Tickets: Sensitive: no

Description

For approx. 200 instances of input type=text/password, add 'required' attribute where appropriate. Beware of POST buttons used to navigate away, e.g. 'settings' button on susimail login page.

For approx. 35 instances of input type=text, change to type=number and add min/max, if we get get the styling to look good across browsers, OR, add pattern attribute, possibly with x-moz-errormessage and/or equivalents for other browsers.

Tradeoffs here on localized error message client-side vs tagged error strings, ease of writing regexes to validate e.g. 1024-65535, how hard it is to make type=number look good.

I have a patch for type=number but haven't verified all the min/max values yet, and haven't tried too hard to make it look good yet.

Subtickets

Change History (0)

Note: See TracTickets for help on using tickets.