VRFS-3359 : Validate experience forms using HTML5 validations.

This commit is contained in:
Steven Miers 2015-08-29 12:52:29 -05:00
parent 6e62db85eb
commit e028a604cf
2 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -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>`
})