Skip to content

Commit cefac98

Browse files
committed
/series/add: use required attribute for inputs.
Should be in d87b764 commit. HTML5 migration.
1 parent ced9ad4 commit cefac98

File tree

1 file changed

+2
-1
lines changed
  • src/main/webapp/WEB-INF/tiles/body/series

1 file changed

+2
-1
lines changed

src/main/webapp/WEB-INF/tiles/body/series/add.jsp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
<form:input
5858
path="quantity"
5959
type="number"
60+
required="required"
6061
size="2"
6162
min="<%= ValidationRules.MIN_STAMPS_IN_SERIES %>"
6263
max="<%= ValidationRules.MAX_STAMPS_IN_SERIES %>" />
@@ -159,7 +160,7 @@
159160
<span id="image.required" class="required_field">*</span>
160161
</td>
161162
<td>
162-
<form:input path="image" type="file" accept="image/png,image/jpeg" />
163+
<form:input path="image" type="file" required="required" accept="image/png,image/jpeg" />
163164
</td>
164165
<td>
165166
<form:errors path="image" cssClass="error" />

0 commit comments

Comments
 (0)