NIHVIVO-3352 improvements to validation in backend editing forms
This commit is contained in:
parent
777d10ba04
commit
8822dc51ff
23 changed files with 298 additions and 236 deletions
|
@ -6,14 +6,16 @@
|
|||
<td valign="bottom" id="entityNameTd" colspan="1">
|
||||
<b>Individual Name</b><br/>
|
||||
<input type="text" name="field1Value" value="<form:value name="Name"/>" size="80" maxlength="255" />
|
||||
<font size="2" color="red"><form:error name="Name"/></font>
|
||||
<c:set var="NameError"><form:error name="Name"/></c:set>
|
||||
<c:if test="${!empty NameError}">
|
||||
<span class="notice"><c:out value="${NameError}"/></span>
|
||||
</c:if>
|
||||
</td>
|
||||
<td valign="top" id="displayStatusTd" colspan="1">
|
||||
<b>Display Status</b><br/>
|
||||
<select name="StatusId" >
|
||||
<form:option name="StatusId"/>
|
||||
</select>
|
||||
<font size="2" color="red"><form:error name="StatusId"/></font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class='editformcell' id='GenericTypeTr'>
|
||||
|
@ -23,7 +25,6 @@
|
|||
<% // need to implement form:optgroup %>
|
||||
<form:option name="VClassId"/>
|
||||
</select>
|
||||
<br><font size="2" color="red"><form:error name="VClassId"/></font>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue