From 3dc33bf9af33f82b33de69642b459f7bf9b6b882 Mon Sep 17 00:00:00 2001 From: peterdd Date: Fri, 29 Oct 2021 16:51:13 +0200 Subject: [PATCH] add the required attribute to report bug form inputs Reduces frustration of reporter as the form is very long and easy to oversee a required input field. Also enables to style the fields that are required. (like input[required], input:valid, input:invalid) (I always prefer the compatible XHTML way of ' required="required"' instead of just HTML5 way ' required', so when testing in xhtml mode I get alerted of HTML nesting errors while in HTML5 the browser just do silent heuristic fixes.) --- www/report.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/www/report.php b/www/report.php index 8b7e19b3..53295442 100644 --- a/www/report.php +++ b/www/report.php @@ -411,7 +411,7 @@ Your email address:
MUST BE VALID - + @@ -419,7 +419,7 @@ Password: -
+
You must enter any password here, which will be stored for this bug report.
This password allows you to come back and modify your submitted bug report at a later date. [Lost a bug password?] @@ -430,7 +430,7 @@ PHP version: - @@ -439,7 +439,7 @@ Package affected: - @@ -448,7 +448,7 @@ Bug Type: - @@ -464,7 +464,7 @@ Summary: - + @@ -492,7 +492,7 @@

- + @@ -553,7 +553,7 @@ ?>
getQuestion()); ?> - +