VRFS-3359 : Validate experience forms using HTML5 validations.
This commit is contained in:
parent
6e62db85eb
commit
e028a604cf
|
|
@ -48,11 +48,11 @@ logger = context.JK.logger
|
|||
<table className="form-table">
|
||||
<tr className="teacher-field">
|
||||
<td><label htmlFor="title-input">Title:</label></td>
|
||||
<td><input name="title_input"> </input></td>
|
||||
<td><input name="title_input" required="required"> </input></td>
|
||||
</tr>
|
||||
<tr className="teacher-field">
|
||||
<td><label htmlFor="organization-input">School / Org:</label></td>
|
||||
<td><input name="organization_input"> </input></td>
|
||||
<td><input name="organization_input" required="required"> </input></td>
|
||||
</tr>
|
||||
<tr className="teacher-field">
|
||||
<td><label htmlFor="start-year">Start & End:</label></td>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ logger = context.JK.logger
|
|||
for yr in [1901..now]
|
||||
options.push `<option value={yr}>{yr}</option>`
|
||||
|
||||
`<select className="YearSelect react-component">
|
||||
`<select className="YearSelect react-component" required placeholder="Select">
|
||||
{options}
|
||||
</select>`
|
||||
})
|
||||
Loading…
Reference in New Issue