Skip to content
Snippets Groups Projects
Commit 868e3116 authored by adityab3's avatar adityab3
Browse files

fixed error message

parent ba7b40c0
No related branches found
No related tags found
1 merge request!6Uc91v2
...@@ -66,17 +66,24 @@ if (formIsFilled) { ...@@ -66,17 +66,24 @@ if (formIsFilled) {
</div> </div>
<% %
} catch(FormValidationException e){ } catch(FormValidationException e){
%> %>
<div align=center> <div align=center>
<span class="iTrustError"> <%= StringEscapeUtils.escapeHtml(e.getMessage()) %></span> <span class="iTrustError"> <%= StringEscapeUtils.escapeHtml(e.getMessage()) %></span>
<!-- StringEscapeUtils.escapeHtml(e.getMessage()) --> <!-- StringEscapeUtils.escapeHtml(e.getMessage()) -->
</div> </div>
<% <%
} } catch (ITrustException ex) {
%>
<div align=center>
<span class="iTrustError"> <%= StringEscapeUtils.escapeHtml(ex.getMessage()) %></span>
<!-- StringEscapeUtils.escapeHtml(e.getMessage()) -->
</div>
<%
}
}else{ }else{
...@@ -100,7 +107,7 @@ if (formIsFilled) { ...@@ -100,7 +107,7 @@ if (formIsFilled) {
<br /> <br />
<div style="width: 50%; text-align:left;">Please enter in the name of the Pre-registered <div style="width: 50%; text-align:left;">Please enter in the name of the Pre-registered
patient, with a valid email address. If the user does not have an email patient, with a valid email address. If the user does not have an email
address, use the hospital's email address, [insert pre-defined email], address, use the hospital&#39;s email address, [insert pre-defined email],
to recover the password.</div> to recover the password.</div>
<br /> <br />
<br /> <br />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment